For 3, you need to write a constructor, not just another method. The syntax looks like writing a function with the name of the class. Also, for constructors, you can use an initializer list to initialize variables. Look that one up.

On a different note, it is convention to start class names with capital letters.