#3 Implemented task.set_pin. Improved test coverage. Updated requirements.txt.