edited validatePath, added basic walking system