add lab5 files
fix bug with ordering of tuple
simplify code
add tarball