Solving the classic 'Fizzbuzz' technical question