Swap example program.

Follow the format of this file for each programming assignment. The source code was indented by
"indent -br swap.cc"

swap.cc source file
swap.in input file
swap.out output file
go simple bash script to compile and run

Compile it with
"g++ -O -o swap swap.cc"

Run it with
"./swap < swap.in > swap.out"