Separated .c and .h files. Removed unused prev node pointer from queue. Added all sorts to test.c with build script.