Update from the middle of lecture 6 (barcharts)

Signed-off-by: malcjohn <cincenko@seznam.cz>