Added prototype for printBinary method