Fixed PrimaryFilter test, added additional timing test for PrimaryFilter. Wrote Main.scala, but discovered there is no easy way to do what we want to do.