added a helper function repository file
Solution to Proeblem 33