Define rand-max for generating random numbers

Every note that is created will be assigned a random ID which will serve
as a unique identifier to that particular note. The definition of
rand-max serves as the upper bound for the numbers generated randomly to
be used as note IDs.