Fixed the logic of Assignment 4.1 so that the first letter of the string gets pushed to the array.

What if our input doesn't end with a $??