movement

added walkable function
fixed all the if and elseif