Added logic for error checking; linked p2 title to itself; Enabled focus on number_of_words input; added link to p1