Code for my assignments in university (1. semester)