coding #3 adding functions
coding #3 adding qcustomplot libraries
coding #3 adding the histogram