Put license headed on all existing java codes