my first module, containing the functions of lab2.1 & 2.2