refactored and shortened most methods in computer_player.rb and also wrote a few specs.