refactored method and updated readme

Wrote a method for fizzbuzz and updated readme