Added block rotation and finished instruction set
Updated javadoc