Make fizzbuzz function write to list.