Alabama professor gets life in prison for killing co-workers