HW3 part 1 attempt 1
added require fs