Edited getNote() function

As I have seen every switch option is 10^n, so I have extended yuor function with Math.pow, with this method it should work with every int number without edit the function
Merge pull request #16 from Razorphyn/patch-1

Edited getNote() function