project2- line pattern