random java code i've made that is unorganized.