Added solutions from A-E and some sample input tests