Pattern classification class project.