Added sample code for checking for std in.  This will most likely be used in the future.