updated solution of Problem015 and solved Problem018