outsourced functions to basics.py and started experimenting with matplotlib for python3