Some Code Examples used in class (unfortunately Eclipse projects)