Improved variable naming convention, added choice between signed and unsigned ints