Implemented Hint, some work on sign and created encodeint