add hw1 + palindrome detection done