Adding code samples for week4