closed maze and reset starting posision