Some code I've made during online-assessment (performed with Stepic) which should've test the most basic knowledge of computer science