complete task 4, do not draw matches, calculate percentage instead