Core.R created. Contains all core userdefined functions.