Update swipper.cpp

changes made at day 3