added solution and updated readme