Added new script for exercise 3, began exercise 4