Added gitignore file.
Using Position class.
Added Position class.
added initialize to positions
Added error checking and refactored all test passed.