Code for my assignments in university