Create SM.java

Created SM class, 2nd class in the console.io package.