added required libraries for example8 of lab4