inital solution to othello game. needs testing and revision