Bug fixed division 0 in SwapMemory()
Merge pull request #13 from gronpipmaster/patch-1

Bug fixed division 0 in SwapMemory()