Committing solution

Signed-off-by: aayush uppal <aayushup@buffalo.edu>