solution in python3 for "Compress the String!" problem on HackerRank's website. If you have any questions regarding my code, feel free to ask in the comments :)