started working on algorithm parser
properly applies algorithms to NxN cubes