Ruby: Secret Handshake - arrays, binary numbers, OOP