Added some test cases.

This is just a start.
They are not formated and in general psuedocode.
Variable names are merely for understanding.