Added solution to Palantir Technologies Rain Puzzle