Yet another java functions grep program. 
Removed all unused functions