moved pretty printing and manacher algorithm to dynamic programming directory