Fixed the negative problem

Every numbers getSign() function should return its sign. Also fixed sign
printing.