SafeWalk program for CS18000 Project #5