Adding solution for Problem019