Fixed type involving HEAP_SIZE_INIT
Created prototypes and created a getInUse function