made computer choose side or edge randomly in the last two strategies, for variation in the game. also refactored one method