Creates a class that encapsulate an int with constructor, getter, and setter