added/ported cell and maze classes