FINISHED SWAPPING THIS SHIT

completed all 3 swapping algorithms and added javadoc comments and
inline comments to better understand my ugly work