RubiksCubePatterns: Adding source, titlecase and moving definitions outside of handle sub