Fixed the occasional segfault when generating a map, added new between function for rng
Player can now walk around and bump into walls