Final Working Java Code

The final version of the working java code. Nothing will change now.
Also includes revision to the report and the Arduino code.