testing shifts in temp file shifts.cpp