Implementing exercise 3 EDA