Refactored .split & added .inject
String calculator functions w/ refactored methods