HW-18b--added two methods to check if a word can be printed horizontally or vertically and two methods to print words vertically (forwards and backwards), and updated the two methods to print words horizontally to take advantage of checkHorizontal()