more allocating
Squashed commit of the following:

commit 57b1762c7ee171f4b93a2bdca1b6675ba98db2db
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Wed Mar 5 18:41:37 2014 -0500

    fixed leaks and added free()

commit fce05b81cbd2b36bbaa3f381d6fa129dbf86729e
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Wed Mar 5 17:19:10 2014 -0500

    use #define for hex values

commit 3ee455a554648064bd66c43097497514f520a05d
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Wed Mar 5 17:10:06 2014 -0500

    tests pass

commit 8eb8e24ebd7e76517376f081cf53f174a8a22a7a
Author: Alex Nichol <unixpickle@gmail.com>
Date:   Wed Mar 5 14:28:57 2014 -0500

    added main source
task creation compiles, idk if it works