Completed ParseRubiks.java (no tests done yet).