Solved problem with random number generator and small issues with ants.