Added tile flipping methods and implemented basic CSS