Northwestern Montana man gets life in prison for murder