new paper
add new functions, setS1() and setS2()
add main.cpp to compose all the code.