refactor fizzbuzz code after checking out some other's online