Implemented maze

With help from Wakatta to get some sane definitions