Memory.java

updated to include toInt() functionality
Merge pull request #1 from jggt89/patch-2

Memory.java