scrapping old code
mayor bugfix + random move generator