Add chapter1, 2 and 3

Add chapter 1,2 and 3 from windows
change import packages and some bugs

modify some .javas files