written in C# for a schoolproject from Örebro University