cleaned up code. split player into a human and computer player