An attempt at a maze solver