Blake Implementation in C