Added a helper method in the QuestionAndAnswer super class to tell if a number is lexicographic up to a certain digit. Also modified the hoper method that checks if a number is a perfect square or not to accept a long long int instead of a uint.
Added the solution to Question 41.