Solves #6

Average read length now calculated by parts (#6).