Refactored pianoMachine.toggleRecording(). Added signature and specs for pianoMachine.recordThings().