diff --git a/kotlin/accumulate/.gradle/3.5-rc-2/file-changes/last-build.bin b/kotlin/accumulate/.gradle/3.5-rc-2/file-changes/last-build.bin
new file mode 100644
index 0000000..f76dd23
Binary files /dev/null and b/kotlin/accumulate/.gradle/3.5-rc-2/file-changes/last-build.bin differ
diff --git a/kotlin/accumulate/.gradle/3.5-rc-2/taskHistory/taskHistory.lock b/kotlin/accumulate/.gradle/3.5-rc-2/taskHistory/taskHistory.lock
new file mode 100644
index 0000000..e37911d
Binary files /dev/null and b/kotlin/accumulate/.gradle/3.5-rc-2/taskHistory/taskHistory.lock differ
diff --git a/kotlin/accumulate/.gradle/buildOutputCleanup/cache.properties b/kotlin/accumulate/.gradle/buildOutputCleanup/cache.properties
index 32950c7..abcae48 100644
--- a/kotlin/accumulate/.gradle/buildOutputCleanup/cache.properties
+++ b/kotlin/accumulate/.gradle/buildOutputCleanup/cache.properties
@@ -1,2 +1,2 @@
-#Sun Jun 04 16:28:56 EDT 2017
-gradle.version=3.5
+#Sun Jul 23 23:44:51 EDT 2017
+gradle.version=3.5-rc-2
diff --git a/kotlin/accumulate/.idea/modules/accumulate_main.iml b/kotlin/accumulate/.idea/modules/accumulate_main.iml
index dead50e..7614549 100644
--- a/kotlin/accumulate/.idea/modules/accumulate_main.iml
+++ b/kotlin/accumulate/.idea/modules/accumulate_main.iml
@@ -13,19 +13,19 @@
+
-
-
+
diff --git a/kotlin/accumulate/.idea/modules/accumulate_test.iml b/kotlin/accumulate/.idea/modules/accumulate_test.iml
index c77f5aa..bd5750b 100644
--- a/kotlin/accumulate/.idea/modules/accumulate_test.iml
+++ b/kotlin/accumulate/.idea/modules/accumulate_test.iml
@@ -13,19 +13,19 @@
+
-
-
+
diff --git a/kotlin/accumulate/.idea/workspace.xml b/kotlin/accumulate/.idea/workspace.xml
index bdaa04b..e151c15 100644
--- a/kotlin/accumulate/.idea/workspace.xml
+++ b/kotlin/accumulate/.idea/workspace.xml
@@ -4,6 +4,7 @@
+
@@ -11,19 +12,18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
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/kotlin/accumulate/accumulate.iml b/kotlin/accumulate/accumulate.iml
index 12d240a..d1c9596 100644
--- a/kotlin/accumulate/accumulate.iml
+++ b/kotlin/accumulate/accumulate.iml
@@ -5,6 +5,7 @@
+
diff --git a/kotlin/accumulate/build/classes/test/AccumulateTest$accumulateReversedStrings$1.class b/kotlin/accumulate/build/classes/test/AccumulateTest$accumulateReversedStrings$1.class
deleted file mode 100644
index 4a010ff..0000000
Binary files a/kotlin/accumulate/build/classes/test/AccumulateTest$accumulateReversedStrings$1.class and /dev/null differ
diff --git a/kotlin/accumulate/build/classes/test/AccumulateTest$accumulateUpperCases$1.class b/kotlin/accumulate/build/classes/test/AccumulateTest$accumulateUpperCases$1.class
deleted file mode 100644
index 879fbd7..0000000
Binary files a/kotlin/accumulate/build/classes/test/AccumulateTest$accumulateUpperCases$1.class and /dev/null differ
diff --git a/kotlin/accumulate/build/classes/main/Accumulate.class b/kotlin/accumulate/out/production/classes/Accumulate.class
similarity index 98%
rename from kotlin/accumulate/build/classes/main/Accumulate.class
rename to kotlin/accumulate/out/production/classes/Accumulate.class
index dd82beb..5b3d5e5 100644
Binary files a/kotlin/accumulate/build/classes/main/Accumulate.class and b/kotlin/accumulate/out/production/classes/Accumulate.class differ
diff --git a/kotlin/accumulate/out/test/classes/AccumulateTest$accumulateReversedStrings$1.class b/kotlin/accumulate/out/test/classes/AccumulateTest$accumulateReversedStrings$1.class
new file mode 100644
index 0000000..c80d749
Binary files /dev/null and b/kotlin/accumulate/out/test/classes/AccumulateTest$accumulateReversedStrings$1.class differ
diff --git a/kotlin/accumulate/build/classes/test/AccumulateTest$accumulateSquares$1.class b/kotlin/accumulate/out/test/classes/AccumulateTest$accumulateSquares$1.class
similarity index 94%
rename from kotlin/accumulate/build/classes/test/AccumulateTest$accumulateSquares$1.class
rename to kotlin/accumulate/out/test/classes/AccumulateTest$accumulateSquares$1.class
index c8721e0..96544e1 100644
Binary files a/kotlin/accumulate/build/classes/test/AccumulateTest$accumulateSquares$1.class and b/kotlin/accumulate/out/test/classes/AccumulateTest$accumulateSquares$1.class differ
diff --git a/kotlin/accumulate/build/classes/test/AccumulateTest$accumulateToDifferentType$1.class b/kotlin/accumulate/out/test/classes/AccumulateTest$accumulateToDifferentType$1.class
similarity index 95%
rename from kotlin/accumulate/build/classes/test/AccumulateTest$accumulateToDifferentType$1.class
rename to kotlin/accumulate/out/test/classes/AccumulateTest$accumulateToDifferentType$1.class
index 021f646..4d27176 100644
Binary files a/kotlin/accumulate/build/classes/test/AccumulateTest$accumulateToDifferentType$1.class and b/kotlin/accumulate/out/test/classes/AccumulateTest$accumulateToDifferentType$1.class differ
diff --git a/kotlin/accumulate/out/test/classes/AccumulateTest$accumulateUpperCases$1.class b/kotlin/accumulate/out/test/classes/AccumulateTest$accumulateUpperCases$1.class
new file mode 100644
index 0000000..9881adb
Binary files /dev/null and b/kotlin/accumulate/out/test/classes/AccumulateTest$accumulateUpperCases$1.class differ
diff --git a/kotlin/accumulate/build/classes/test/AccumulateTest$accumulateWithinAccumulate$1$1.class b/kotlin/accumulate/out/test/classes/AccumulateTest$accumulateWithinAccumulate$1$1.class
similarity index 95%
rename from kotlin/accumulate/build/classes/test/AccumulateTest$accumulateWithinAccumulate$1$1.class
rename to kotlin/accumulate/out/test/classes/AccumulateTest$accumulateWithinAccumulate$1$1.class
index 2caa1f0..38d6cde 100644
Binary files a/kotlin/accumulate/build/classes/test/AccumulateTest$accumulateWithinAccumulate$1$1.class and b/kotlin/accumulate/out/test/classes/AccumulateTest$accumulateWithinAccumulate$1$1.class differ
diff --git a/kotlin/accumulate/build/classes/test/AccumulateTest$accumulateWithinAccumulate$1.class b/kotlin/accumulate/out/test/classes/AccumulateTest$accumulateWithinAccumulate$1.class
similarity index 96%
rename from kotlin/accumulate/build/classes/test/AccumulateTest$accumulateWithinAccumulate$1.class
rename to kotlin/accumulate/out/test/classes/AccumulateTest$accumulateWithinAccumulate$1.class
index 319b8fa..8c9cfc4 100644
Binary files a/kotlin/accumulate/build/classes/test/AccumulateTest$accumulateWithinAccumulate$1.class and b/kotlin/accumulate/out/test/classes/AccumulateTest$accumulateWithinAccumulate$1.class differ
diff --git a/kotlin/accumulate/build/classes/test/AccumulateTest$emptyAccumulateProducesEmptyAccumulation$1.class b/kotlin/accumulate/out/test/classes/AccumulateTest$emptyAccumulateProducesEmptyAccumulation$1.class
similarity index 94%
rename from kotlin/accumulate/build/classes/test/AccumulateTest$emptyAccumulateProducesEmptyAccumulation$1.class
rename to kotlin/accumulate/out/test/classes/AccumulateTest$emptyAccumulateProducesEmptyAccumulation$1.class
index b720d07..df79ecf 100644
Binary files a/kotlin/accumulate/build/classes/test/AccumulateTest$emptyAccumulateProducesEmptyAccumulation$1.class and b/kotlin/accumulate/out/test/classes/AccumulateTest$emptyAccumulateProducesEmptyAccumulation$1.class differ
diff --git a/kotlin/accumulate/build/classes/test/AccumulateTest.class b/kotlin/accumulate/out/test/classes/AccumulateTest.class
similarity index 88%
rename from kotlin/accumulate/build/classes/test/AccumulateTest.class
rename to kotlin/accumulate/out/test/classes/AccumulateTest.class
index ab61684..3a06019 100644
Binary files a/kotlin/accumulate/build/classes/test/AccumulateTest.class and b/kotlin/accumulate/out/test/classes/AccumulateTest.class differ
diff --git a/kotlin/diamond/.gradle/3.5-rc-2/file-changes/last-build.bin b/kotlin/diamond/.gradle/3.5-rc-2/file-changes/last-build.bin
new file mode 100644
index 0000000..f76dd23
Binary files /dev/null and b/kotlin/diamond/.gradle/3.5-rc-2/file-changes/last-build.bin differ
diff --git a/kotlin/diamond/.gradle/3.5-rc-2/taskHistory/taskHistory.lock b/kotlin/diamond/.gradle/3.5-rc-2/taskHistory/taskHistory.lock
new file mode 100644
index 0000000..87133cc
Binary files /dev/null and b/kotlin/diamond/.gradle/3.5-rc-2/taskHistory/taskHistory.lock differ
diff --git a/kotlin/diamond/.gradle/buildOutputCleanup/cache.properties b/kotlin/diamond/.gradle/buildOutputCleanup/cache.properties
index 073f216..77367f7 100644
--- a/kotlin/diamond/.gradle/buildOutputCleanup/cache.properties
+++ b/kotlin/diamond/.gradle/buildOutputCleanup/cache.properties
@@ -1,2 +1,2 @@
-#Sun Jul 23 22:11:50 EDT 2017
-gradle.version=4.0.1
+#Sun Jul 23 23:51:11 EDT 2017
+gradle.version=3.5-rc-2
diff --git a/kotlin/diamond/.idea/modules/diamond_test.iml b/kotlin/diamond/.idea/modules/diamond_test.iml
index a94095a..583ac04 100644
--- a/kotlin/diamond/.idea/modules/diamond_test.iml
+++ b/kotlin/diamond/.idea/modules/diamond_test.iml
@@ -34,12 +34,12 @@
-
-
+
+
\ No newline at end of file
diff --git a/kotlin/diamond/.idea/workspace.xml b/kotlin/diamond/.idea/workspace.xml
index 6c6ade9..fa3bb9e 100644
--- a/kotlin/diamond/.idea/workspace.xml
+++ b/kotlin/diamond/.idea/workspace.xml
@@ -18,12 +18,12 @@
-
+
-
-
+
+
@@ -32,24 +32,37 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -237,7 +250,7 @@
@@ -283,75 +296,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -379,10 +323,8 @@
DEFINITION_ORDER
-
-
-
-
+
+
@@ -406,52 +348,22 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
-
-
-
+
+
+
+
@@ -526,6 +438,12 @@
+
+
+
+
+
+
@@ -533,14 +451,32 @@
-
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -548,49 +484,94 @@
+
+
+
+
+
+
+
+
+
+ 1500868261705
+
+
+ 1500868261705
+
+
+
+
+
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
-
+
-
-
+
-
@@ -606,7 +587,61 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -614,12 +649,39 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/kotlin/diamond/out/production/classes/DiamondPrinter.class b/kotlin/diamond/out/production/classes/DiamondPrinter.class
index bd46358..29bfe55 100644
Binary files a/kotlin/diamond/out/production/classes/DiamondPrinter.class and b/kotlin/diamond/out/production/classes/DiamondPrinter.class differ
diff --git a/kotlin/diamond/src/main/kotlin/DiamondPrinter.kt b/kotlin/diamond/src/main/kotlin/DiamondPrinter.kt
index 89ae0a4..7be6d6b 100644
--- a/kotlin/diamond/src/main/kotlin/DiamondPrinter.kt
+++ b/kotlin/diamond/src/main/kotlin/DiamondPrinter.kt
@@ -1,5 +1,24 @@
class DiamondPrinter {
- fun printToList(inp_char: Char): List {
- return listOf("A")
+ fun printToList(inpChar: Char): List {
+ val returnList: MutableList = mutableListOf()
+ val charList = CharRange('A', inpChar).toList()
+ val length = charList.size
+ // TODO: Make specific branch for 'A'
+ for (i in 0..length - 1){
+ val testChar: Char = charList[i]
+ val totalLength: Int = (length * 2) - 1
+ val beforeSpaces: Int = length - i
+ val middleSpaces: Int = if (totalLength - ((beforeSpaces * 2) + 1) > 0){
+ totalLength - ((beforeSpaces * 2) + 1)
+ } else {0}
+ val builder = StringBuilder()
+ builder.append(CharArray(beforeSpaces, {' '}))
+ .append(testChar)
+ .append(CharArray(middleSpaces, {' '}))
+ .append(testChar)
+ .append(CharArray(beforeSpaces, {' '}))
+ returnList.add(String(builder))
+ }
+ return returnList
}
-}
+}
\ No newline at end of file