Added counting how often a substring will appear in a given string. Similar to match but instead of true or false, the return is count of occurance. Also cleaned up the other functions for variable names and fixed #3 to return the correct result.