layout of mygrep and mylinecount classes