add palindrome, change file structure