This is the first part of my assignment.

No proper testing done yet.