Moved most of the algo to player 2

testing purposes for now. Not much change.