Update Macro.java

Changed the macro to work with catapult limit switch