Changed input pins mode to INPUT_PULLUP

This should fix issue #1.
Testing of this to close bug will occur soon