Minimax

Also removed pygame dependencies in model and cleaned up model