found some hash functions and a way to manipulate a bit array (last part still not working)