Generates and Solves a maze