Sparse level generator stability
- Improve stability of
sparse_rail_generator
by handling the while loops better or replacing them. - Improve error handling such that training will not fail when level cannot be generated.
@christian_eichenberger can you give this a go? I'm happy to support you any way i can.