Added swap function
Merge branch 'master' of https://github.com/McSoap/McSpicyWasEbi
Changed the heapify function to use the swap function