Refactor the main switch in class Program by removing the repeatable code, set initializing value to isLabyrintValid and isEscapedNaturally, removing the // bachka!! yess comment.