Replaced const cast with a safer alternative in buffer class.
Updated buffer class.
Updated accessors (just comments).
Updated range class with arithmetic operators, added method get(), changed int to size_t.
Updated id and nd_range classes.