Added random map generation

Also fixed bug with finding adjacent cells