Got rid of switch statement and created a constant for replacement. Fixed an error in a method call in the method rotateCountrClockwise