please teach java like we studied python in first semester