Ruby implementation of Threefish algorithm