added walk method to Person class