Reformatting for consistency
Adding test cases
Adding README