Day 1, Codes for Palindrone, Removing Duplicates and String Compression....

Please review this code.