Switched to python due to the easiness of working with strings