Added some docblocks and initial round of tests for maze