Minor adjustments to swap program. kept it sloppy because i was just reviewing some concepts.