Major bug fixes #1

Fixed min memory location is -1
Fixed max memory is 254 (It is 255, a byte)