maze error checking finished implementing stack now