Fixed shell script bug

Java file compilation step was missing. So included that step in the
shell script.

Signed-off-by: Siddharth Goel <siddharth98391@gmail.com>
[Fixed bug]

Fixed two bugs:
1. Missed the size parameter in the number list generation, so added it.
2. Fixed the pastebin option which was working faulty previously.

Signed-off-by: Siddharth Goel <siddharth98391@gmail.com>