completed warmup 1 from codingbat