Added int x.
Merge pull request #1 from Willard24/feature1

Added int x. Ready for pull.