Fixed the different orientation problem, changed the makefile,added a readme