diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 00000000..13566b81
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 00000000..7d862fbd
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 00000000..dd47d373
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 00000000..35eb1ddf
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Lab2.iml b/Lab2.iml
new file mode 100644
index 00000000..e5d2daf8
--- /dev/null
+++ b/Lab2.iml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/recipe.md b/recipe.md
index a8b51a4d..f0c02db1 100644
--- a/recipe.md
+++ b/recipe.md
@@ -4,9 +4,14 @@
- 2 cups all-purpose flour
- 1 3/4 cups granulated sugar
- 3/4 cup unsweetened cocoa powder
+- 1/2 tsp ground cinnamon
- ...
## Instructions:
-1. Preheat the oven to 350°F (175°C).
-2. In a large bowl, whisk together the flour, sugar, and cocoa powder.
-3. ...
\ No newline at end of file
+1. Preheat the oven to 375°F (190°C).
+2. In a large bowl, whisk together the flour, sugar, cocoa powder, and ground cinnamon.
+3. ...
+
+## Additional Directions by Bob:
+4. Add a tablespoon of instant coffee to the dry ingredients for a hint of mocha flavor.
+5. Mix in a handful of chocolate chunks for extra lime
diff --git a/src/DataTypes.java b/src/DataTypes.java
index 4f807c1f..093a4fd2 100644
--- a/src/DataTypes.java
+++ b/src/DataTypes.java
@@ -1,10 +1,11 @@
import java.util.List;
public class DataTypes {
- // TODO TASK 1: fix this code so that it passes the test in DataTypesTest.java
public static long sum(List numbers) {
- int s = 0;
+ long s = 0;
+ //avoid overflow
+
// below is a "foreach" loop which iterates through numbers
for (int x : numbers) {
s += x;