Pressing the "Run" button on this class runs card in the Command Window. This is being called with no inputs, but according to your constructor method, you require 3 inputs, i.e. s, c, & n. Therefore, instead of running
>> card
you need to run something like:
>> fiveOfHearts = card('hearts','color',5)
If you want to run that command when pressing the "Run" button, you should set up a Run Configuration by pressing the little drop-down arrow and editing a configuration. Check out this link: