Added self-made abs function that takes signed and unsigned types
Fixed the "unsigned-increment" problem once more