fixed bugs
Figured out the package syntax

The main.java must have "import packagename.*;" and the classes found
inside packagename must have "package packagename;" before any imports.
To compile just use javac main.java and to run use java main. Try it
out.