Added all test cases. Added fast.c

Implemented test cases into the Makefile. Added fast.c for testing
purposes.