refactored through function:
completed lines challnege
added question info for lines challenge