add lab2.cpp
add lab2.py
Merge pull request #2 from citrux/patch-1

add plot generator for second lab