Adds computer player (random AI) and fixes bugs