added limit switch logic to up/down

robot should refuse to lower when limit switch triggered