Added main, smooth, link and tests .py files. Added a test case