added walking and quitting features, makefile