added hackerrank warmup works