Working game. Fixed bug where computer couldn't select the last stack