That was my project for algorithms course in university.