Second Pull Request - Project Course (ThreadBoard)

Please limit the functionality of your methods to how it is named po. In here, the method setLastPage is doing both setting of attributes in a class and also returning them, you may want to consider using a constructor to set the needed attributes upon creating an instance of this class