Merge pull request #15 from yanhick/resources

Resources
added func to get user input
added IO typedef