fizzbuzz function working but not validation