I\'m trying to implement the freelist algorithm to allocate memory. The two functions I\'m trying to write can be described as shown below.
// allocates a blo