Added solution and driver code
added reflection