Programming Problem - Find Longest Word Made of Other Words