Cleaned up commented code and got opposites_sides to work