Added simpler version of example
Added example bytecode for swap function