implemented visualization, gray level colors and random robot movement