Added partial solution to practical session 8.1
completed solution to practical session 8.1