started code kata, first chopping function