A component of my final year project.