Update core.lua

Added ~ to booleans.
Merge pull request #55 from Scottyprogrammer/patch-2

Update core.lua