First attempt at mapping edges
Refactor. encodeEdge and encodeCorners use the same internal function to handle encoding. And a small bug fix on checking if cube is solved
Remove unnecessary variables in rotate function