Function part of Fizz Buzz Project