polished directions, added compiled java code (cause platform independent)