Update basics1.cpp

Cleaning up code