Changed the for loops in put and get methods so they iterate over bytes instead of Bytes