Just some java codes, structures and algorithms