Tidied code and added opponent_board method