Implemented random movement stack into Bresenham algorithm