--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/core1/README.md Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,6 @@
+# assignment2021scala - Core 1
+
+* deadline: 21 January, 5pm
+* [coursework description](https://nms.kcl.ac.uk/christian.urban/core_cw01.pdf)
+* reference jar:
+ [collatz.jar](https://nms.kcl.ac.uk/christian.urban/collatz.jar)
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/core1/collatz.scala Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,45 @@
+// Core Part 1 about the 3n+1 conjecture
+//============================================
+
+object C1 {
+
+//(1) Complete the collatz function below. It should
+// recursively calculate the number of steps needed
+// until the collatz series reaches the number 1.
+// If needed, you can use an auxiliary function that
+// performs the recursion. The function should expect
+// arguments in the range of 1 to 1 Million.
+
+def collatz(n: Long) : Long = ???
+
+
+//(2) Complete the collatz_max function below. It should
+// calculate how many steps are needed for each number
+// from 1 up to a bound and then calculate the maximum number of
+// steps and the corresponding number that needs that many
+// steps. Again, you should expect bounds in the range of 1
+// up to 1 Million. The first component of the pair is
+// the maximum number of steps and the second is the
+// corresponding number.
+
+def collatz_max(bnd: Long) : (Long, Long) = ???
+
+//(3) Implement a function that calculates the last_odd
+// number in a collatz series. For this implement an
+// is_pow_of_two function which tests whether a number
+// is a power of two. The function is_hard calculates
+// whether 3n + 1 is a power of two. Again you can
+// assume the input ranges between 1 and 1 Million,
+// and also assume that the input of last_odd will not
+// be a power of 2.
+
+def is_pow_of_two(n: Long) : Boolean = ???
+
+def is_hard(n: Long) : Boolean = ???
+
+def last_odd(n: Long) : Long = ???
+
+}
+
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/core2/README.md Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,6 @@
+# assignment2021scala - Core 2
+
+* deadline: 21 January, 5pm
+* [coursework description](https://nms.kcl.ac.uk/christian.urban/core_cw02.pdf)
+* reference jar:
+ [docdiff.jar](https://nms.kcl.ac.uk/christian.urban/docdiff.jar)
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/core2/docdiff.scala Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,115 @@
+// Core Part 2 about Code Similarity
+//===================================
+
+
+object C2 {
+
+
+//(1) Complete the clean function below. It should find
+// all words in a string using the regular expression
+// \w+ and the library function
+//
+// some_regex.findAllIn(some_string)
+//
+// The words should be Returned as a list of strings.
+
+
+def clean(s: String) : List[String] = ???
+
+
+
+//(2) The function occurrences calculates the number of times
+// strings occur in a list of strings. These occurrences should
+// be calculated as a Map from strings to integers.
+
+
+def occurrences(xs: List[String]): Map[String, Int] = ???
+
+
+//(3) This functions calculates the dot-product of two documents
+// (list of strings). For this it calculates the occurrence
+// maps from (2) and then multiplies the corresponding occurrences.
+// If a string does not occur in a document, the product is zero.
+// The function finally sums up all products.
+
+
+def prod(lst1: List[String], lst2: List[String]) : Int = ???
+
+
+//(4) Complete the functions overlap and similarity. The overlap of
+// two documents is calculated by the formula given in the assignment
+// description. The similarity of two strings is given by the overlap
+// of the cleaned strings (see (1)).
+
+
+def overlap(lst1: List[String], lst2: List[String]) : Double = ???
+
+def similarity(s1: String, s2: String) : Double = ???
+
+
+
+/* Test cases
+
+
+val list1 = List("a", "b", "b", "c", "d")
+val list2 = List("d", "b", "d", "b", "d")
+
+occurrences(List("a", "b", "b", "c", "d")) // Map(a -> 1, b -> 2, c -> 1, d -> 1)
+occurrences(List("d", "b", "d", "b", "d")) // Map(d -> 3, b -> 2)
+
+prod(list1,list2) // 7
+
+overlap(list1, list2) // 0.5384615384615384
+overlap(list2, list1) // 0.5384615384615384
+overlap(list1, list1) // 1.0
+overlap(list2, list2) // 1.0
+
+// Plagiarism examples from
+// https://desales.libguides.com/avoidingplagiarism/examples
+
+val orig1 = """There is a strong market demand for eco-tourism in
+Australia. Its rich and diverse natural heritage ensures Australia's
+capacity to attract international ecotourists and gives Australia a
+comparative advantage in the highly competitive tourism industry."""
+
+val plag1 = """There is a high market demand for eco-tourism in
+Australia. Australia has a comparative advantage in the highly
+competitive tourism industry due to its rich and varied natural
+heritage which ensures Australia's capacity to attract international
+ecotourists."""
+
+similarity(orig1, plag1) // 0.8679245283018868
+
+
+// Plagiarism examples from
+// https://www.utc.edu/library/help/tutorials/plagiarism/examples-of-plagiarism.php
+
+val orig2 = """No oil spill is entirely benign. Depending on timing and
+location, even a relatively minor spill can cause significant harm to
+individual organisms and entire populations. Oil spills can cause
+impacts over a range of time scales, from days to years, or even
+decades for certain spills. Impacts are typically divided into acute
+(short-term) and chronic (long-term) effects. Both types are part of a
+complicated and often controversial equation that is addressed after
+an oil spill: ecosystem recovery."""
+
+val plag2 = """There is no such thing as a "good" oil spill. If the
+time and place are just right, even a small oil spill can cause damage
+to sensitive ecosystems. Further, spills can cause harm days, months,
+years, or even decades after they occur. Because of this, spills are
+usually broken into short-term (acute) and long-term (chronic)
+effects. Both of these types of harm must be addressed in ecosystem
+recovery: a controversial tactic that is often implemented immediately
+following an oil spill."""
+
+overlap(clean(orig2), clean(plag2)) // 0.728
+similarity(orig2, plag2) // 0.728
+
+
+
+// The punchline: everything above 0.6 looks suspicious and
+// should be investigated by staff.
+
+*/
+
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/core3/README.md Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,7 @@
+# assignment2021scala - Core 3
+
+* deadline: 21 January, 5pm
+* [coursework description](https://nms.kcl.ac.uk/christian.urban/core_cw03.pdf)
+* reference jar:
+ [postfix.jar](https://nms.kcl.ac.uk/christian.urban/postfix.jar),
+ [postfix2.jar](https://nms.kcl.ac.uk/christian.urban/postfix2.jar)
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/core3/postfix.scala Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,81 @@
+// Shunting Yard Algorithm
+// by Edsger Dijkstra
+// ========================
+
+object C3a {
+
+// type of tokens
+type Toks = List[String]
+
+// the operations in the basic version of the algorithm
+val ops = List("+", "-", "*", "/")
+
+// the precedences of the operators
+val precs = Map("+" -> 1,
+ "-" -> 1,
+ "*" -> 2,
+ "/" -> 2)
+
+// helper function for splitting strings into tokens
+def split(s: String) : Toks = s.split(" ").toList
+
+
+// (1) Implement below the shunting yard algorithm. The most
+// convenient way to this in Scala is to implement a recursive
+// function and to heavily use pattern matching. The function syard
+// takes some input tokens as first argument. The second and third
+// arguments represent the stack and the output of the shunting yard
+// algorithm.
+//
+// In the marking, you can assume the function is called only with
+// an empty stack and an empty output list. You can also assume the
+// input os only properly formatted (infix) arithmetic expressions
+// (all parentheses will be well-nested, the input only contains
+// operators and numbers).
+
+// You can implement any additional helper function you need. I found
+// it helpful to implement two auxiliary functions for the pattern matching:
+//
+
+def is_op(op: String) : Boolean = ???
+def prec(op1: String, op2: String) : Boolean = ???
+
+
+def syard(toks: Toks, st: Toks = Nil, out: Toks = Nil) : Toks = ???
+
+
+// test cases
+//syard(split("3 + 4 * ( 2 - 1 )")) // 3 4 2 1 - * +
+//syard(split("10 + 12 * 33")) // 10 12 33 * +
+//syard(split("( 5 + 7 ) * 2")) // 5 7 + 2 *
+//syard(split("5 + 7 / 2")) // 5 7 2 / +
+//syard(split("5 * 7 / 2")) // 5 7 * 2 /
+//syard(split("9 + 24 / ( 7 - 3 )")) // 9 24 7 3 - / +
+
+//syard(split("3 + 4 + 5")) // 3 4 + 5 +
+//syard(split("( ( 3 + 4 ) + 5 )")) // 3 4 + 5 +
+//syard(split("( 3 + ( 4 + 5 ) )")) // 3 4 5 + +
+//syard(split("( ( ( 3 ) ) + ( ( 4 + ( 5 ) ) ) )")) // 3 4 5 + +
+
+
+// (2) Implement a compute function that evaluates an input list
+// in postfix notation. This function takes a list of tokens
+// and a stack as argumenta. The function should produce the
+// result as an integer using the stack. You can assume
+// this function will be only called with proper postfix
+// expressions.
+
+def compute(toks: Toks, st: List[Int] = Nil) : Int = ???
+
+
+// test cases
+// compute(syard(split("3 + 4 * ( 2 - 1 )"))) // 7
+// compute(syard(split("10 + 12 * 33"))) // 406
+// compute(syard(split("( 5 + 7 ) * 2"))) // 24
+// compute(syard(split("5 + 7 / 2"))) // 8
+// compute(syard(split("5 * 7 / 2"))) // 17
+// compute(syard(split("9 + 24 / ( 7 - 3 )"))) // 15
+
+}
+
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/core3/postfix2.scala Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,69 @@
+// Shunting Yard Algorithm
+// including Associativity for Operators
+// =====================================
+
+object C3b {
+
+
+// type of tokens
+type Toks = List[String]
+
+// helper function for splitting strings into tokens
+def split(s: String) : Toks = s.split(" ").toList
+
+// left- and right-associativity
+abstract class Assoc
+case object LA extends Assoc
+case object RA extends Assoc
+
+
+// power is right-associative,
+// everything else is left-associative
+def assoc(s: String) : Assoc = s match {
+ case "^" => RA
+ case _ => LA
+}
+
+
+// the precedences of the operators
+val precs = Map("+" -> 1,
+ "-" -> 1,
+ "*" -> 2,
+ "/" -> 2,
+ "^" -> 4)
+
+// the operations in the basic version of the algorithm
+val ops = List("+", "-", "*", "/", "^")
+
+// (3) Implement the extended version of the shunting yard algorithm.
+// This version should properly account for the fact that the power
+// operation is right-associative. Apart from the extension to include
+// the power operation, you can make the same assumptions as in
+// basic version.
+
+def syard(toks: Toks, st: Toks = Nil, out: Toks = Nil) : Toks = ???
+
+
+// test cases
+// syard(split("3 + 4 * 8 / ( 5 - 1 ) ^ 2 ^ 3")) // 3 4 8 * 5 1 - 2 3 ^ ^ / +
+
+
+// (4) Implement a compute function that produces an Int for an
+// input list of tokens in postfix notation.
+
+def compute(toks: Toks, st: List[Int] = Nil) : Int = ???
+
+
+// test cases
+// compute(syard(split("3 + 4 * ( 2 - 1 )"))) // 7
+// compute(syard(split("10 + 12 * 33"))) // 406
+// compute(syard(split("( 5 + 7 ) * 2"))) // 24
+// compute(syard(split("5 + 7 / 2"))) // 8
+// compute(syard(split("5 * 7 / 2"))) // 17
+// compute(syard(split("9 + 24 / ( 7 - 3 )"))) // 15
+// compute(syard(split("4 ^ 3 ^ 2"))) // 262144
+// compute(syard(split("4 ^ ( 3 ^ 2 )"))) // 262144
+// compute(syard(split("( 4 ^ 3 ) ^ 2"))) // 4096
+// compute(syard(split("( 3 + 1 ) ^ 2 ^ 3"))) // 65536
+
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/AAPL.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,807 @@
+Date,Adj Close
+1981-01-02,0.492630
+1981-01-05,0.481921
+1981-01-06,0.460502
+1981-01-07,0.440868
+1981-01-08,0.431944
+1981-01-09,0.455147
+1981-01-12,0.451577
+1981-01-13,0.435513
+1981-01-14,0.437298
+1981-01-15,0.446223
+1981-01-16,0.442653
+1981-01-19,0.469426
+1981-01-20,0.455147
+1981-01-21,0.464072
+1981-01-22,0.469426
+1981-01-23,0.467641
+1981-01-26,0.460502
+1981-01-27,0.456932
+1981-01-28,0.442653
+1981-01-29,0.426589
+1981-01-30,0.403385
+1982-01-04,0.314141
+1982-01-05,0.298077
+1982-01-06,0.294507
+1982-01-07,0.271303
+1982-01-08,0.283798
+1982-01-11,0.265949
+1982-01-12,0.257024
+1982-01-13,0.255239
+1982-01-14,0.267734
+1982-01-15,0.285583
+1982-01-18,0.290937
+1982-01-19,0.283798
+1982-01-20,0.289152
+1982-01-21,0.294507
+1982-01-22,0.296292
+1982-01-25,0.287367
+1982-01-26,0.276658
+1982-01-27,0.278443
+1982-01-28,0.287367
+1982-01-29,0.290937
+1983-01-03,0.406955
+1983-01-04,0.430159
+1983-01-05,0.431944
+1983-01-06,0.415880
+1983-01-07,0.392676
+1983-01-10,0.410525
+1983-01-11,0.415880
+1983-01-12,0.439083
+1983-01-13,0.439083
+1983-01-14,0.471211
+1983-01-17,0.487276
+1983-01-18,0.476566
+1983-01-19,0.480136
+1983-01-20,0.533683
+1983-01-21,0.533683
+1983-01-24,0.503339
+1983-01-25,0.522973
+1983-01-26,0.544392
+1983-01-27,0.581875
+1983-01-28,0.585444
+1983-01-31,0.583660
+1984-01-03,0.365903
+1984-01-04,0.398031
+1984-01-05,0.403385
+1984-01-06,0.396246
+1984-01-09,0.374827
+1984-01-10,0.394461
+1984-01-11,0.399816
+1984-01-12,0.398031
+1984-01-13,0.389106
+1984-01-16,0.398031
+1984-01-17,0.408740
+1984-01-18,0.410525
+1984-01-19,0.414095
+1984-01-20,0.408740
+1984-01-23,0.412310
+1984-01-24,0.389106
+1984-01-25,0.385536
+1984-01-26,0.394461
+1984-01-27,0.373042
+1984-01-30,0.353408
+1984-01-31,0.353408
+1985-01-02,0.398031
+1985-01-03,0.405170
+1985-01-04,0.405170
+1985-01-07,0.403385
+1985-01-08,0.399816
+1985-01-09,0.410525
+1985-01-10,0.428374
+1985-01-11,0.424804
+1985-01-14,0.437298
+1985-01-15,0.428374
+1985-01-16,0.431944
+1985-01-17,0.401601
+1985-01-18,0.408740
+1985-01-21,0.417665
+1985-01-22,0.430159
+1985-01-23,0.423019
+1985-01-24,0.414095
+1985-01-25,0.423019
+1985-01-28,0.431944
+1985-01-29,0.426589
+1985-01-30,0.426589
+1985-01-31,0.414095
+1986-01-02,0.317711
+1986-01-03,0.319496
+1986-01-06,0.317711
+1986-01-07,0.328420
+1986-01-08,0.326635
+1986-01-09,0.323065
+1986-01-10,0.324850
+1986-01-13,0.328420
+1986-01-14,0.331990
+1986-01-15,0.340914
+1986-01-16,0.349839
+1986-01-17,0.342699
+1986-01-20,0.340914
+1986-01-21,0.342699
+1986-01-22,0.333775
+1986-01-23,0.328420
+1986-01-24,0.323065
+1986-01-27,0.315926
+1986-01-28,0.317711
+1986-01-29,0.337344
+1986-01-30,0.328420
+1986-01-31,0.330205
+1987-01-02,0.583660
+1987-01-05,0.614003
+1987-01-06,0.624712
+1987-01-07,0.638991
+1987-01-08,0.638991
+1987-01-09,0.647915
+1987-01-12,0.649700
+1987-01-13,0.637206
+1987-01-14,0.687183
+1987-01-15,0.712172
+1987-01-16,0.696107
+1987-01-19,0.758579
+1987-01-20,0.737160
+1987-01-21,0.699677
+1987-01-22,0.749654
+1987-01-23,0.717526
+1987-01-26,0.710387
+1987-01-27,0.753224
+1987-01-28,0.790707
+1987-01-29,0.772858
+1987-01-30,0.792491
+1988-01-04,1.284374
+1988-01-05,1.280786
+1988-01-06,1.255673
+1988-01-07,1.277199
+1988-01-08,1.148044
+1988-01-11,1.219796
+1988-01-12,1.205446
+1988-01-13,1.212621
+1988-01-14,1.212621
+1988-01-15,1.230559
+1988-01-18,1.226972
+1988-01-19,1.226972
+1988-01-20,1.140868
+1988-01-21,1.151631
+1988-01-22,1.126518
+1988-01-25,1.173157
+1988-01-26,1.140868
+1988-01-27,1.140868
+1988-01-28,1.183919
+1988-01-29,1.191095
+1989-01-03,1.168666
+1989-01-04,1.215702
+1989-01-05,1.222939
+1989-01-06,1.233793
+1989-01-09,1.244647
+1989-01-10,1.233793
+1989-01-11,1.219320
+1989-01-12,1.237411
+1989-01-13,1.251884
+1989-01-16,1.266356
+1989-01-17,1.168666
+1989-01-18,1.150575
+1989-01-19,1.172284
+1989-01-20,1.186757
+1989-01-23,1.186757
+1989-01-24,1.204848
+1989-01-25,1.201229
+1989-01-26,1.208466
+1989-01-27,1.089066
+1989-01-30,1.081830
+1989-01-31,1.092685
+1990-01-02,1.088798
+1990-01-03,1.096105
+1990-01-04,1.099759
+1990-01-05,1.103412
+1990-01-08,1.110720
+1990-01-09,1.099759
+1990-01-10,1.052261
+1990-01-11,1.008417
+1990-01-12,1.008417
+1990-01-15,1.001109
+1990-01-16,1.019378
+1990-01-17,0.971880
+1990-01-18,0.946304
+1990-01-19,1.001109
+1990-01-22,0.971880
+1990-01-23,0.986494
+1990-01-24,0.993802
+1990-01-25,0.997456
+1990-01-26,0.957265
+1990-01-29,0.971880
+1990-01-30,0.993802
+1990-01-31,0.993802
+1991-01-02,1.287284
+1991-01-03,1.272488
+1991-01-04,1.279886
+1991-01-07,1.279886
+1991-01-08,1.279886
+1991-01-09,1.339072
+1991-01-10,1.394558
+1991-01-11,1.390859
+1991-01-14,1.368664
+1991-01-15,1.383461
+1991-01-16,1.472239
+1991-01-17,1.516628
+1991-01-18,1.487036
+1991-01-21,1.501831
+1991-01-22,1.516628
+1991-01-23,1.531424
+1991-01-24,1.542522
+1991-01-25,1.583211
+1991-01-28,1.612804
+1991-01-29,1.590610
+1991-01-30,1.642398
+1991-01-31,1.642398
+1992-01-02,1.777269
+1992-01-03,1.762334
+1992-01-06,1.732463
+1992-01-07,1.766068
+1992-01-08,1.807139
+1992-01-09,1.859411
+1992-01-10,1.859411
+1992-01-13,1.851944
+1992-01-14,1.926619
+1992-01-15,1.896749
+1992-01-16,1.874346
+1992-01-17,1.934087
+1992-01-20,1.911684
+1992-01-21,1.825807
+1992-01-22,1.896749
+1992-01-23,1.926619
+1992-01-24,1.930353
+1992-01-27,1.926619
+1992-01-28,1.949021
+1992-01-29,1.889282
+1992-01-30,1.904217
+1992-01-31,1.934087
+1993-01-04,1.755134
+1993-01-05,1.785265
+1993-01-06,1.860593
+1993-01-07,1.837995
+1993-01-08,1.875659
+1993-01-11,1.932155
+1993-01-12,1.853060
+1993-01-13,1.913323
+1993-01-14,1.958519
+1993-01-15,1.815396
+1993-01-18,1.792798
+1993-01-19,1.800331
+1993-01-20,1.807863
+1993-01-21,1.807863
+1993-01-22,1.792798
+1993-01-25,1.807863
+1993-01-26,1.830462
+1993-01-27,1.815396
+1993-01-28,1.804098
+1993-01-29,1.792798
+1994-01-03,0.911272
+1994-01-04,0.960839
+1994-01-05,1.029470
+1994-01-06,0.998967
+1994-01-07,1.010406
+1994-01-10,1.025657
+1994-01-11,0.972278
+1994-01-12,0.930336
+1994-01-13,0.934149
+1994-01-14,0.945587
+1994-01-17,0.926523
+1994-01-18,0.896020
+1994-01-19,0.892207
+1994-01-20,0.911272
+1994-01-21,1.018031
+1994-01-24,1.067598
+1994-01-25,1.033283
+1994-01-26,1.021844
+1994-01-27,1.040909
+1994-01-28,1.037096
+1994-01-31,0.998967
+1995-01-03,1.187059
+1995-01-04,1.217992
+1995-01-05,1.202525
+1995-01-06,1.299191
+1995-01-09,1.274541
+1995-01-10,1.351391
+1995-01-11,1.446123
+1995-01-12,1.403590
+1995-01-13,1.388124
+1995-01-16,1.376524
+1995-01-17,1.391990
+1995-01-18,1.411324
+1995-01-19,1.419057
+1995-01-20,1.318524
+1995-01-23,1.306924
+1995-01-24,1.287591
+1995-01-25,1.267774
+1995-01-26,1.221858
+1995-01-27,1.233458
+1995-01-30,1.241192
+1995-01-31,1.248924
+1996-01-02,1.005087
+1996-01-03,1.005087
+1996-01-04,0.987488
+1996-01-05,1.071571
+1996-01-08,1.083304
+1996-01-09,1.024641
+1996-01-10,1.071571
+1996-01-11,1.095036
+1996-01-12,1.059839
+1996-01-15,1.067660
+1996-01-16,1.081348
+1996-01-17,1.063749
+1996-01-18,0.999221
+1996-01-19,0.934692
+1996-01-22,0.954246
+1996-01-23,0.989444
+1996-01-24,1.008998
+1996-01-25,0.946424
+1996-01-26,0.958157
+1996-01-29,0.911227
+1996-01-30,0.854520
+1996-01-31,0.864296
+1997-01-02,0.657022
+1997-01-03,0.680487
+1997-01-06,0.559251
+1997-01-07,0.547518
+1997-01-08,0.551429
+1997-01-09,0.555340
+1997-01-10,0.570983
+1997-01-13,0.567072
+1997-01-14,0.559251
+1997-01-15,0.539697
+1997-01-16,0.524053
+1997-01-17,0.524053
+1997-01-20,0.529919
+1997-01-21,0.539697
+1997-01-22,0.537741
+1997-01-23,0.539697
+1997-01-24,0.527964
+1997-01-27,0.520142
+1997-01-28,0.520142
+1997-01-29,0.520142
+1997-01-30,0.524053
+1997-01-31,0.520142
+1998-01-02,0.508410
+1998-01-05,0.496677
+1998-01-06,0.592493
+1998-01-07,0.547518
+1998-01-08,0.569028
+1998-01-09,0.569028
+1998-01-12,0.570983
+1998-01-13,0.610092
+1998-01-14,0.617913
+1998-01-15,0.600315
+1998-01-16,0.588582
+1998-01-20,0.596404
+1998-01-21,0.591515
+1998-01-22,0.602270
+1998-01-23,0.610092
+1998-01-26,0.608136
+1998-01-27,0.598359
+1998-01-28,0.600315
+1998-01-29,0.578805
+1998-01-30,0.572939
+1999-01-04,1.290578
+1999-01-05,1.355107
+1999-01-06,1.306222
+1999-01-07,1.407904
+1999-01-08,1.407904
+1999-01-11,1.435280
+1999-01-12,1.443101
+1999-01-13,1.454834
+1999-01-14,1.294489
+1999-01-15,1.292534
+1999-01-19,1.278846
+1999-01-20,1.269069
+1999-01-21,1.214317
+1999-01-22,1.212362
+1999-01-25,1.231916
+1999-01-26,1.267114
+1999-01-27,1.255381
+1999-01-28,1.278846
+1999-01-29,1.288623
+2000-01-03,3.502161
+2000-01-04,3.206892
+2000-01-05,3.253822
+2000-01-06,2.972241
+2000-01-07,3.113032
+2000-01-10,3.058280
+2000-01-11,2.901846
+2000-01-12,2.727814
+2000-01-13,3.026993
+2000-01-14,3.142363
+2000-01-18,3.251867
+2000-01-19,3.333994
+2000-01-20,3.551046
+2000-01-21,3.482607
+2000-01-24,3.324218
+2000-01-25,3.511938
+2000-01-26,3.447409
+2000-01-27,3.441542
+2000-01-28,3.179516
+2000-01-31,3.246000
+2001-01-02,0.930781
+2001-01-03,1.024641
+2001-01-04,1.067660
+2001-01-05,1.024641
+2001-01-08,1.036374
+2001-01-09,1.075482
+2001-01-10,1.036374
+2001-01-11,1.126323
+2001-01-12,1.075482
+2001-01-16,1.071571
+2001-01-17,1.052017
+2001-01-18,1.169342
+2001-01-19,1.220183
+2001-01-22,1.204540
+2001-01-23,1.282757
+2001-01-24,1.282757
+2001-01-25,1.247559
+2001-01-26,1.224094
+2001-01-29,1.357063
+2001-01-30,1.360974
+2001-01-31,1.353152
+2002-01-02,1.457963
+2002-01-03,1.475483
+2002-01-04,1.482366
+2002-01-07,1.432933
+2002-01-08,1.414787
+2002-01-09,1.354716
+2002-01-10,1.328436
+2002-01-11,1.317172
+2002-01-14,1.323430
+2002-01-15,1.357845
+2002-01-16,1.300277
+2002-01-17,1.406652
+2002-01-18,1.387254
+2002-01-22,1.365354
+2002-01-23,1.440442
+2002-01-24,1.452331
+2002-01-25,1.454834
+2002-01-28,1.456085
+2002-01-29,1.443571
+2002-01-30,1.507396
+2002-01-31,1.546817
+2003-01-02,0.926088
+2003-01-03,0.932345
+2003-01-06,0.932345
+2003-01-07,0.929217
+2003-01-08,0.910444
+2003-01-09,0.918579
+2003-01-10,0.921082
+2003-01-13,0.915450
+2003-01-14,0.914199
+2003-01-15,0.902936
+2003-01-16,0.914825
+2003-01-17,0.882287
+2003-01-21,0.877281
+2003-01-22,0.868520
+2003-01-23,0.886667
+2003-01-24,0.863514
+2003-01-27,0.884164
+2003-01-28,0.912322
+2003-01-29,0.934222
+2003-01-30,0.896053
+2003-01-31,0.898556
+2004-01-02,1.331564
+2004-01-05,1.387254
+2004-01-06,1.382249
+2004-01-07,1.413535
+2004-01-08,1.461717
+2004-01-09,1.439191
+2004-01-12,1.484869
+2004-01-13,1.509273
+2004-01-14,1.514279
+2004-01-15,1.429805
+2004-01-16,1.421670
+2004-01-20,1.422296
+2004-01-21,1.414787
+2004-01-22,1.387880
+2004-01-23,1.411658
+2004-01-26,1.439816
+2004-01-27,1.443571
+2004-01-28,1.409155
+2004-01-29,1.419167
+2004-01-30,1.411658
+2005-01-03,3.960278
+2005-01-04,4.000951
+2005-01-05,4.035991
+2005-01-06,4.039120
+2005-01-07,4.333215
+2005-01-10,4.315071
+2005-01-11,4.039745
+2005-01-12,4.096062
+2005-01-13,4.367630
+2005-01-14,4.392659
+2005-01-18,4.420817
+2005-01-19,4.372635
+2005-01-20,4.408928
+2005-01-21,4.410807
+2005-01-24,4.427703
+2005-01-25,4.508422
+2005-01-26,4.520935
+2005-01-27,4.545338
+2005-01-28,4.629188
+2005-01-31,4.811902
+2006-01-03,9.354739
+2006-01-04,9.382271
+2006-01-05,9.308435
+2006-01-06,9.548719
+2006-01-09,9.517429
+2006-01-10,10.119386
+2006-01-11,10.499831
+2006-01-12,10.548641
+2006-01-13,10.711332
+2006-01-17,10.601205
+2006-01-18,10.323377
+2006-01-19,9.891622
+2006-01-20,9.522433
+2006-01-23,9.720170
+2006-01-24,9.516180
+2006-01-25,9.285909
+2006-01-26,9.051883
+2006-01-27,9.014341
+2006-01-30,9.386027
+2006-01-31,9.449851
+2007-01-03,10.487321
+2007-01-04,10.720094
+2007-01-05,10.643752
+2007-01-08,10.696313
+2007-01-09,11.584859
+2007-01-10,12.139262
+2007-01-11,11.989083
+2007-01-12,11.841410
+2007-01-16,12.151772
+2007-01-17,11.882710
+2007-01-18,11.146847
+2007-01-19,11.075509
+2007-01-22,10.861509
+2007-01-23,10.725096
+2007-01-24,10.850245
+2007-01-25,10.793929
+2007-01-26,10.685053
+2007-01-29,10.755135
+2007-01-30,10.706326
+2007-01-31,10.728851
+2008-01-02,24.383644
+2008-01-03,24.394909
+2008-01-04,22.532711
+2008-01-07,22.231115
+2008-01-08,21.431419
+2008-01-09,22.451372
+2008-01-10,22.278667
+2008-01-11,21.611633
+2008-01-14,22.373783
+2008-01-15,21.154844
+2008-01-16,19.978466
+2008-01-17,20.134907
+2008-01-18,20.193722
+2008-01-22,19.477880
+2008-01-23,17.404198
+2008-01-24,16.969934
+2008-01-25,16.270361
+2008-01-28,16.270361
+2008-01-29,16.461838
+2008-01-30,16.541931
+2008-01-31,16.939903
+2009-01-02,11.357091
+2009-01-05,11.836406
+2009-01-06,11.641174
+2009-01-07,11.389630
+2009-01-08,11.601127
+2009-01-09,11.335814
+2009-01-12,11.095532
+2009-01-13,10.976647
+2009-01-14,10.678793
+2009-01-15,10.434757
+2009-01-16,10.303352
+2009-01-20,9.786496
+2009-01-21,10.365927
+2009-01-22,11.057990
+2009-01-23,11.057990
+2009-01-26,11.218180
+2009-01-27,11.354589
+2009-01-28,11.788850
+2009-01-29,11.638673
+2009-01-30,11.279500
+2010-01-04,26.782711
+2010-01-05,26.829010
+2010-01-06,26.402260
+2010-01-07,26.353460
+2010-01-08,26.528664
+2010-01-11,26.294640
+2010-01-12,25.995537
+2010-01-13,26.362217
+2010-01-14,26.209538
+2010-01-15,25.771528
+2010-01-19,26.911612
+2010-01-20,26.497383
+2010-01-21,26.039341
+2010-01-22,24.747818
+2010-01-25,25.413599
+2010-01-26,25.772774
+2010-01-27,26.015560
+2010-01-28,24.940546
+2010-01-29,24.035734
+2011-01-03,41.244694
+2011-01-04,41.459957
+2011-01-05,41.799107
+2011-01-06,41.765308
+2011-01-07,42.064415
+2011-01-10,42.856586
+2011-01-11,42.755222
+2011-01-12,43.103134
+2011-01-13,43.260815
+2011-01-14,43.611225
+2011-01-18,42.631332
+2011-01-19,42.404819
+2011-01-20,41.633900
+2011-01-21,40.888023
+2011-01-24,42.230858
+2011-01-25,42.725189
+2011-01-26,43.031807
+2011-01-27,42.951710
+2011-01-28,42.061913
+2011-01-31,42.464890
+2012-01-03,51.464207
+2012-01-04,51.740776
+2012-01-05,52.315197
+2012-01-06,52.862103
+2012-01-09,52.778248
+2012-01-10,52.967213
+2012-01-11,52.880863
+2012-01-12,52.735695
+2012-01-13,52.537975
+2012-01-17,53.149933
+2012-01-18,53.701828
+2012-01-19,53.531635
+2012-01-20,52.599285
+2012-01-23,53.489075
+2012-01-24,52.613056
+2012-01-25,55.898159
+2012-01-26,55.644108
+2012-01-27,55.975765
+2012-01-30,56.692860
+2012-01-31,57.127102
+2013-01-02,69.319641
+2013-01-03,68.444672
+2013-01-04,66.538162
+2013-01-07,66.146751
+2013-01-08,66.324783
+2013-01-09,65.288208
+2013-01-10,66.097511
+2013-01-11,65.692223
+2013-01-14,63.350147
+2013-01-15,61.351456
+2013-01-16,63.898102
+2013-01-17,63.467560
+2013-01-18,63.129196
+2013-01-22,63.731434
+2013-01-23,64.898071
+2013-01-24,56.879379
+2013-01-25,55.538528
+2013-01-28,56.794800
+2013-01-29,57.860420
+2013-01-30,57.678608
+2013-01-31,57.509426
+2014-01-02,71.591667
+2014-01-03,70.019096
+2014-01-06,70.400902
+2014-01-07,69.897423
+2014-01-08,70.340096
+2014-01-09,69.441841
+2014-01-10,68.978462
+2014-01-13,69.339584
+2014-01-14,70.719322
+2014-01-15,72.139168
+2014-01-16,71.736649
+2014-01-17,69.978973
+2014-01-21,71.066185
+2014-01-22,71.382004
+2014-01-23,71.986450
+2014-01-24,70.677895
+2014-01-27,71.251266
+2014-01-28,65.556343
+2014-01-29,64.812126
+2014-01-30,64.686554
+2014-01-31,64.792686
+2015-01-02,101.138702
+2015-01-05,98.289474
+2015-01-06,98.298729
+2015-01-07,99.677094
+2015-01-08,103.506897
+2015-01-09,103.617920
+2015-01-12,101.064705
+2015-01-13,101.962006
+2015-01-14,101.573509
+2015-01-15,98.816750
+2015-01-16,98.048943
+2015-01-20,100.574409
+2015-01-21,101.342232
+2015-01-22,103.978683
+2015-01-23,104.515251
+2015-01-26,104.626236
+2015-01-27,100.962952
+2015-01-28,106.670677
+2015-01-29,109.991692
+2015-01-30,108.382065
+2016-01-04,99.117409
+2016-01-05,96.633583
+2016-01-06,94.742485
+2016-01-07,90.743942
+2016-01-08,91.223770
+2016-01-11,92.700867
+2016-01-12,94.046272
+2016-01-13,91.628334
+2016-01-14,93.632301
+2016-01-15,91.383713
+2016-01-19,90.941513
+2016-01-20,91.063828
+2016-01-21,90.602806
+2016-01-22,95.419914
+2016-01-25,93.557060
+2016-01-26,94.074509
+2016-01-27,87.893181
+2016-01-28,88.523552
+2016-01-29,91.581261
+2017-01-03,111.709831
+2017-01-04,111.584778
+2017-01-05,112.152229
+2017-01-06,113.402542
+2017-01-09,114.441246
+2017-01-10,114.556656
+2017-01-11,115.172195
+2017-01-12,114.691307
+2017-01-13,114.489334
+2017-01-17,115.412643
+2017-01-18,115.403008
+2017-01-19,115.201050
+2017-01-20,115.412643
+2017-01-23,115.489578
+2017-01-24,115.383789
+2017-01-25,117.220779
+2017-01-26,117.278488
+2017-01-27,117.288101
+2017-01-30,116.980324
+2017-01-31,116.711029
+2018-01-02,168.339050
+2018-01-03,168.309738
+2018-01-04,169.091522
+2018-01-05,171.016678
+2018-01-08,170.381485
+2018-01-09,170.361954
+2018-01-10,170.322845
+2018-01-11,171.290329
+2018-01-12,173.059113
+2018-01-16,172.179611
+2018-01-17,175.023361
+2018-01-18,175.179718
+2018-01-19,174.397949
+2018-01-22,172.971176
+2018-01-23,173.010254
+2018-01-24,170.254440
+2018-01-25,167.215210
+2018-01-26,167.606140
+2018-01-29,164.136932
+2018-01-30,163.169464
+2018-01-31,163.618988
+2019-01-02,156.642365
+2019-01-03,141.039642
+2019-01-04,147.060516
+2019-01-07,146.733185
+2019-01-08,149.530380
+2019-01-09,152.069672
+2019-01-10,152.555710
+2019-01-11,151.057922
+2019-01-14,148.786438
+2019-01-15,151.831619
+2019-01-16,153.686493
+2019-01-17,154.599045
+2019-01-18,155.551285
+2019-01-22,152.059753
+2019-01-23,152.674728
+2019-01-24,151.464615
+2019-01-25,156.483673
+2019-01-28,155.035492
+2019-01-29,153.428589
+2019-01-30,163.913071
+2019-01-31,165.093445
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/AIV.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,511 @@
+Date,Adj Close
+1995-01-03,3.342207
+1995-01-04,3.318163
+1995-01-05,3.342207
+1995-01-06,3.318163
+1995-01-09,3.342207
+1995-01-10,3.390296
+1995-01-11,3.366251
+1995-01-12,3.342207
+1995-01-13,3.318163
+1995-01-16,3.366251
+1995-01-17,3.342207
+1995-01-18,3.342207
+1995-01-19,3.366251
+1995-01-20,3.342207
+1995-01-23,3.294118
+1995-01-24,3.318163
+1995-01-25,3.318163
+1995-01-26,3.318163
+1995-01-27,3.366251
+1995-01-30,3.438387
+1995-01-31,3.438387
+1996-01-02,4.121134
+1996-01-03,4.068635
+1996-01-04,4.094886
+1996-01-05,4.147383
+1996-01-08,4.147383
+1996-01-09,4.147383
+1996-01-10,4.147383
+1996-01-11,4.199880
+1996-01-12,4.199880
+1996-01-15,4.173631
+1996-01-16,4.226130
+1996-01-17,4.304879
+1996-01-18,4.278631
+1996-01-19,4.278631
+1996-01-22,4.278631
+1996-01-23,4.252379
+1996-01-24,4.252379
+1996-01-25,4.278631
+1996-01-26,4.278631
+1996-01-29,4.278631
+1996-01-30,4.357378
+1996-01-31,4.383627
+1997-01-02,6.091323
+1997-01-03,5.949002
+1997-01-06,5.920536
+1997-01-07,5.920536
+1997-01-08,5.892076
+1997-01-09,5.920536
+1997-01-10,5.892076
+1997-01-13,5.892076
+1997-01-14,6.034394
+1997-01-15,6.091323
+1997-01-16,6.119789
+1997-01-17,6.148250
+1997-01-20,6.176718
+1997-01-21,6.176718
+1997-01-22,6.148250
+1997-01-23,6.091323
+1997-01-24,6.062863
+1997-01-27,6.091323
+1997-01-28,6.062863
+1997-01-29,6.062863
+1997-01-30,6.034394
+1997-01-31,6.119789
+1998-01-02,8.875443
+1998-01-05,8.799842
+1998-01-06,8.845202
+1998-01-07,8.845202
+1998-01-08,8.830082
+1998-01-09,8.814962
+1998-01-12,8.860321
+1998-01-13,8.860321
+1998-01-14,8.981279
+1998-01-15,9.041767
+1998-01-16,9.056885
+1998-01-20,9.056885
+1998-01-21,9.041767
+1998-01-22,9.132482
+1998-01-23,9.011523
+1998-01-26,9.132482
+1998-01-27,9.056885
+1998-01-28,9.072002
+1998-01-29,9.056885
+1998-01-30,8.981279
+1999-01-04,9.713436
+1999-01-05,9.697355
+1999-01-06,9.745598
+1999-01-07,9.520454
+1999-01-08,9.375718
+1999-01-11,9.472210
+1999-01-12,9.359634
+1999-01-13,9.311392
+1999-01-14,9.375718
+1999-01-15,9.407882
+1999-01-19,9.423965
+1999-01-20,9.391797
+1999-01-21,9.327471
+1999-01-22,9.681271
+1999-01-25,9.809927
+1999-01-26,9.906417
+1999-01-27,9.633024
+1999-01-28,9.681271
+1999-01-29,9.552616
+2000-01-03,10.413906
+2000-01-04,10.276875
+2000-01-05,10.379644
+2000-01-06,10.585184
+2000-01-07,10.705082
+2000-01-10,10.876360
+2000-01-11,10.824978
+2000-01-12,10.824978
+2000-01-13,10.653693
+2000-01-14,10.294004
+2000-01-18,10.465285
+2000-01-19,10.550923
+2000-01-20,10.379644
+2000-01-21,10.465285
+2000-01-24,10.345386
+2000-01-25,10.208361
+2000-01-26,10.122725
+2000-01-27,10.345386
+2000-01-28,10.345386
+2000-01-31,10.379644
+2001-01-02,14.504136
+2001-01-03,14.577295
+2001-01-04,14.559007
+2001-01-05,14.010303
+2001-01-08,13.937142
+2001-01-09,13.973715
+2001-01-10,13.863980
+2001-01-11,13.790819
+2001-01-12,13.790819
+2001-01-16,13.681074
+2001-01-17,13.571336
+2001-01-18,13.571336
+2001-01-19,13.607916
+2001-01-22,13.754235
+2001-01-23,13.937142
+2001-01-24,14.028594
+2001-01-25,14.046884
+2001-01-26,13.845683
+2001-01-29,13.607916
+2001-01-30,13.704487
+2001-01-31,13.719366
+2002-01-02,14.243557
+2002-01-03,14.438251
+2002-01-04,14.438251
+2002-01-07,14.463371
+2002-01-08,14.475928
+2002-01-09,14.428825
+2002-01-10,14.274964
+2002-01-11,14.136802
+2002-01-14,14.209019
+2002-01-15,14.111677
+2002-01-16,14.070855
+2002-01-17,13.954668
+2002-01-18,13.778826
+2002-01-22,13.803952
+2002-01-23,13.753699
+2002-01-24,13.747418
+2002-01-25,13.690899
+2002-01-28,13.703460
+2002-01-29,13.769403
+2002-01-30,13.841631
+2002-01-31,13.950419
+2003-01-02,12.750859
+2003-01-03,13.046047
+2003-01-06,13.236053
+2003-01-07,13.066407
+2003-01-08,12.991757
+2003-01-09,13.046047
+2003-01-10,13.039262
+2003-01-13,12.974797
+2003-01-14,13.042656
+2003-01-15,12.947656
+2003-01-16,12.764435
+2003-01-17,12.618530
+2003-01-21,12.587996
+2003-01-22,12.486206
+2003-01-23,12.418344
+2003-01-24,12.299590
+2003-01-27,12.235130
+2003-01-28,12.245308
+2003-01-29,12.299590
+2003-01-30,12.180836
+2003-01-31,12.333517
+2004-01-02,12.718515
+2004-01-05,12.759118
+2004-01-06,12.899368
+2004-01-07,12.559812
+2004-01-08,12.781264
+2004-01-09,12.659467
+2004-01-12,12.629941
+2004-01-13,12.655775
+2004-01-14,12.714826
+2004-01-15,12.641006
+2004-01-16,12.530286
+2004-01-20,12.460164
+2004-01-21,12.401109
+2004-01-22,12.364200
+2004-01-23,12.390033
+2004-01-26,12.408491
+2004-01-27,12.493379
+2004-01-28,12.751733
+2004-01-29,12.703753
+2004-01-30,12.984259
+2005-01-03,15.258610
+2005-01-04,15.043980
+2005-01-05,14.408035
+2005-01-06,14.288800
+2005-01-07,14.292779
+2005-01-10,14.165584
+2005-01-11,13.982753
+2005-01-12,13.970828
+2005-01-13,14.090070
+2005-01-14,14.249053
+2005-01-18,14.547147
+2005-01-19,14.574968
+2005-01-20,14.360345
+2005-01-21,14.503428
+2005-01-24,14.408035
+2005-01-25,14.022499
+2005-01-26,14.189435
+2005-01-27,14.129814
+2005-01-28,14.257005
+2005-01-31,14.268925
+2006-01-03,16.634373
+2006-01-04,16.784735
+2006-01-05,17.063972
+2006-01-06,17.278780
+2006-01-09,17.463511
+2006-01-10,17.747057
+2006-01-11,17.721273
+2006-01-12,17.790010
+2006-01-13,17.515068
+2006-01-17,17.472105
+2006-01-18,17.429138
+2006-01-19,17.613880
+2006-01-20,17.356112
+2006-01-23,17.527950
+2006-01-24,17.790010
+2006-01-25,17.961851
+2006-01-26,18.017706
+2006-01-27,18.292652
+2006-01-30,18.150885
+2006-01-31,18.266880
+2007-01-03,25.136976
+2007-01-04,25.227077
+2007-01-05,24.623425
+2007-01-08,24.925255
+2007-01-09,25.384741
+2007-01-10,26.064974
+2007-01-11,26.357792
+2007-01-12,26.339775
+2007-01-16,27.069542
+2007-01-17,27.123610
+2007-01-18,27.114595
+2007-01-19,27.357861
+2007-01-22,26.988457
+2007-01-23,27.092073
+2007-01-24,27.456970
+2007-01-25,27.704735
+2007-01-26,27.763290
+2007-01-29,27.970514
+2007-01-30,27.966019
+2007-01-31,28.213781
+2008-01-02,17.077507
+2008-01-03,16.705711
+2008-01-04,16.283672
+2008-01-07,16.328890
+2008-01-08,15.439592
+2008-01-09,16.012358
+2008-01-10,16.534889
+2008-01-11,16.720785
+2008-01-14,16.610252
+2008-01-15,16.218355
+2008-01-16,16.911711
+2008-01-17,16.720785
+2008-01-18,16.801172
+2008-01-22,17.504566
+2008-01-23,19.599689
+2008-01-24,19.293215
+2008-01-25,19.494183
+2008-01-28,20.262901
+2008-01-29,20.021732
+2008-01-30,19.715252
+2008-01-31,19.830803
+2009-01-02,8.528812
+2009-01-05,8.352962
+2009-01-06,9.305493
+2009-01-07,8.697339
+2009-01-08,8.726647
+2009-01-09,8.851211
+2009-01-12,7.715501
+2009-01-13,7.576284
+2009-01-14,7.114673
+2009-01-15,7.305177
+2009-01-16,7.722825
+2009-01-20,6.345321
+2009-01-21,7.305177
+2009-01-22,6.821586
+2009-01-23,7.209926
+2009-01-26,7.187946
+2009-01-27,7.114673
+2009-01-28,7.656879
+2009-01-29,6.938821
+2009-01-30,6.513846
+2010-01-04,12.103508
+2010-01-05,12.406856
+2010-01-06,12.626781
+2010-01-07,13.089382
+2010-01-08,12.786036
+2010-01-11,12.884625
+2010-01-12,12.550941
+2010-01-13,12.899790
+2010-01-14,12.755704
+2010-01-15,12.459940
+2010-01-19,12.846707
+2010-01-20,12.626781
+2010-01-21,11.982168
+2010-01-22,11.625736
+2010-01-25,11.784995
+2010-01-26,11.693990
+2010-01-27,11.800164
+2010-01-28,11.739494
+2010-01-29,11.648487
+2011-01-03,20.210636
+2011-01-04,19.733818
+2011-01-05,19.733818
+2011-01-06,19.580013
+2011-01-07,19.426205
+2011-01-10,19.464651
+2011-01-11,18.903248
+2011-01-12,19.141651
+2011-01-13,19.072435
+2011-01-14,19.110891
+2011-01-18,19.449272
+2011-01-19,18.895561
+2011-01-20,19.018612
+2011-01-21,19.003227
+2011-01-24,19.249319
+2011-01-25,19.495417
+2011-01-26,19.641541
+2011-01-27,19.764580
+2011-01-28,19.157032
+2011-01-31,19.656919
+2012-01-03,18.199944
+2012-01-04,17.807873
+2012-01-05,18.121527
+2012-01-06,17.996067
+2012-01-09,17.784340
+2012-01-10,17.949011
+2012-01-11,17.980383
+2012-01-12,17.564781
+2012-01-13,17.721615
+2012-01-17,18.137209
+2012-01-18,18.482231
+2012-01-19,18.631218
+2012-01-20,18.670427
+2012-01-23,18.725315
+2012-01-24,18.686108
+2012-01-25,19.140903
+2012-01-26,19.407518
+2012-01-27,19.321264
+2012-01-30,19.015448
+2012-01-31,19.258533
+2013-01-02,22.107021
+2013-01-03,22.179714
+2013-01-04,22.171637
+2013-01-07,22.236256
+2013-01-08,22.155485
+2013-01-09,22.244333
+2013-01-10,22.171637
+2013-01-11,22.010098
+2013-01-14,22.131250
+2013-01-15,22.260485
+2013-01-16,22.438179
+2013-01-17,22.373568
+2013-01-18,22.284719
+2013-01-22,22.252407
+2013-01-23,22.559341
+2013-01-24,22.486645
+2013-01-25,22.607800
+2013-01-28,22.486645
+2013-01-29,22.640106
+2013-01-30,22.292793
+2013-01-31,22.034327
+2014-01-02,21.632854
+2014-01-03,21.632854
+2014-01-06,21.666258
+2014-01-07,21.574417
+2014-01-08,21.499271
+2014-01-09,21.474224
+2014-01-10,22.050316
+2014-01-13,21.950132
+2014-01-14,22.284098
+2014-01-15,22.309145
+2014-01-16,22.451080
+2014-01-17,22.651464
+2014-01-21,22.684860
+2014-01-22,22.818451
+2014-01-23,22.584671
+2014-01-24,22.317495
+2014-01-27,22.217308
+2014-01-28,22.609720
+2014-01-29,22.801752
+2014-01-30,23.235910
+2014-01-31,23.352798
+2015-01-02,32.664104
+2015-01-05,32.948586
+2015-01-06,33.215836
+2015-01-07,33.552036
+2015-01-08,33.914116
+2015-01-09,34.095142
+2015-01-12,34.750328
+2015-01-13,33.500317
+2015-01-14,33.974461
+2015-01-15,34.008938
+2015-01-16,34.681362
+2015-01-20,34.189972
+2015-01-21,34.388252
+2015-01-22,34.914127
+2015-01-23,34.957230
+2015-01-26,35.258953
+2015-01-27,35.414127
+2015-01-28,35.258953
+2015-01-29,35.164124
+2015-01-30,34.362389
+2016-01-04,35.259819
+2016-01-05,36.157997
+2016-01-06,35.748917
+2016-01-07,35.544388
+2016-01-08,34.868530
+2016-01-11,35.090858
+2016-01-12,34.841862
+2016-01-13,34.183800
+2016-01-14,33.623562
+2016-01-15,33.623562
+2016-01-19,34.005943
+2016-01-20,32.867668
+2016-01-21,32.858776
+2016-01-22,33.579086
+2016-01-25,33.499050
+2016-01-26,34.441685
+2016-01-27,34.005943
+2016-01-28,33.890335
+2016-01-29,34.815178
+2017-01-03,41.281742
+2017-01-04,41.667557
+2017-01-05,41.750233
+2017-01-06,41.750233
+2017-01-09,41.300110
+2017-01-10,40.647915
+2017-01-11,40.390705
+2017-01-12,40.620358
+2017-01-13,40.583614
+2017-01-17,40.895931
+2017-01-18,40.840816
+2017-01-19,40.455009
+2017-01-20,41.116402
+2017-01-23,41.483833
+2017-01-24,41.612438
+2017-01-25,40.877563
+2017-01-26,40.840816
+2017-01-27,40.693848
+2017-01-30,40.308029
+2017-01-31,40.482571
+2018-01-02,41.228390
+2018-01-03,41.285316
+2018-01-04,40.630604
+2018-01-05,40.383892
+2018-01-08,40.697025
+2018-01-09,39.833549
+2018-01-10,39.340137
+2018-01-11,38.856220
+2018-01-12,38.543091
+2018-01-16,38.628487
+2018-01-17,38.865704
+2018-01-18,38.505135
+2018-01-19,38.524113
+2018-01-22,39.273712
+2018-01-23,40.175144
+2018-01-24,39.937927
+2018-01-25,40.108723
+2018-01-26,39.947414
+2018-01-29,39.330654
+2018-01-30,38.856220
+2018-01-31,39.700710
+2019-01-02,41.686707
+2019-01-03,42.050915
+2019-01-04,42.198563
+2019-01-07,42.228096
+2019-01-08,43.389614
+2019-01-09,43.468357
+2019-01-10,44.492073
+2019-01-11,44.708626
+2019-01-14,44.511761
+2019-01-15,45.161419
+2019-01-16,45.515781
+2019-01-17,46.057167
+2019-01-18,46.254036
+2019-01-22,46.332783
+2019-01-23,46.647770
+2019-01-24,46.765888
+2019-01-25,47.287590
+2019-01-28,47.937252
+2019-01-29,48.468800
+2019-01-30,48.577072
+2019-01-31,48.744411
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/AMT.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,426 @@
+Date,Adj Close
+1999-01-04,25.023865
+1999-01-05,24.534266
+1999-01-06,25.078264
+1999-01-07,24.915066
+1999-01-08,24.479866
+1999-01-11,24.099068
+1999-01-12,24.207869
+1999-01-13,23.663868
+1999-01-14,23.555071
+1999-01-15,24.588665
+1999-01-19,26.003059
+1999-01-20,25.948654
+1999-01-21,24.697468
+1999-01-22,23.990267
+1999-01-25,23.935867
+1999-01-26,23.391882
+1999-01-27,22.739080
+1999-01-28,21.977478
+1999-01-29,22.412676
+2000-01-03,25.513460
+2000-01-04,25.241459
+2000-01-05,26.003059
+2000-01-06,25.731060
+2000-01-07,27.145451
+2000-01-10,29.539036
+2000-01-11,31.769426
+2000-01-12,33.075020
+2000-01-13,32.204617
+2000-01-14,33.183819
+2000-01-18,33.455818
+2000-01-19,33.945419
+2000-01-20,35.251015
+2000-01-21,37.535797
+2000-01-24,36.556602
+2000-01-25,35.958210
+2000-01-26,34.598209
+2000-01-27,33.401421
+2000-01-28,32.911816
+2000-01-31,31.225439
+2001-01-02,31.551836
+2001-01-03,33.999825
+2001-01-04,34.435009
+2001-01-05,31.443031
+2001-01-08,31.388628
+2001-01-09,30.899033
+2001-01-10,32.367828
+2001-01-11,35.686203
+2001-01-12,34.815811
+2001-01-16,33.183819
+2001-01-17,34.163017
+2001-01-18,31.551836
+2001-01-19,31.279829
+2001-01-22,30.518232
+2001-01-23,31.497437
+2001-01-24,30.790234
+2001-01-25,31.443031
+2001-01-26,31.878225
+2001-01-29,31.464790
+2001-01-30,31.638859
+2001-01-31,31.508322
+2002-01-02,8.695249
+2002-01-03,8.895442
+2002-01-04,8.521171
+2002-01-07,8.416722
+2002-01-08,7.798743
+2002-01-09,7.615961
+2002-01-10,7.180761
+2002-01-11,7.320024
+2002-01-14,6.832603
+2002-01-15,6.684636
+2002-01-16,6.075359
+2002-01-17,5.561826
+2002-01-18,5.144036
+2002-01-22,4.691430
+2002-01-23,4.961252
+2002-01-24,5.361634
+2002-01-25,5.065701
+2002-01-28,4.882917
+2002-01-29,4.177897
+2002-01-30,4.221418
+2002-01-31,4.491239
+2003-01-02,3.351022
+2003-01-03,3.211759
+2003-01-06,3.385838
+2003-01-07,3.351022
+2003-01-08,3.290094
+2003-01-09,3.394541
+2003-01-10,3.551212
+2003-01-13,3.681772
+2003-01-14,4.204009
+2003-01-15,4.351976
+2003-01-16,4.491239
+2003-01-17,3.881963
+2003-01-21,3.916778
+2003-01-22,4.021226
+2003-01-23,4.221418
+2003-01-24,4.125674
+2003-01-27,3.977706
+2003-01-28,4.308455
+2003-01-29,4.543463
+2003-01-30,4.569575
+2003-01-31,4.421608
+2004-01-02,9.548238
+2004-01-05,9.774537
+2004-01-06,9.992138
+2004-01-07,10.166217
+2004-01-08,11.193281
+2004-01-09,11.167170
+2004-01-12,11.271619
+2004-01-13,11.054019
+2004-01-14,10.557894
+2004-01-15,10.575304
+2004-01-16,10.488261
+2004-01-20,9.835467
+2004-01-21,9.983434
+2004-01-22,9.878984
+2004-01-23,9.835467
+2004-01-26,9.948619
+2004-01-27,10.113992
+2004-01-28,9.757132
+2004-01-29,9.548238
+2004-01-30,9.565643
+2005-01-03,15.806378
+2005-01-04,15.597486
+2005-01-05,15.458219
+2005-01-06,15.597486
+2005-01-07,15.876011
+2005-01-10,16.346025
+2005-01-11,16.285095
+2005-01-12,16.137127
+2005-01-13,16.015266
+2005-01-14,16.241573
+2005-01-18,16.537510
+2005-01-19,16.424358
+2005-01-20,16.250277
+2005-01-21,16.102308
+2005-01-24,15.919532
+2005-01-25,15.745454
+2005-01-26,15.754161
+2005-01-27,15.858603
+2005-01-28,15.867305
+2005-01-31,15.771567
+2006-01-03,23.761791
+2006-01-04,24.492926
+2006-01-05,24.414585
+2006-01-06,24.788855
+2006-01-09,25.328497
+2006-01-10,25.293688
+2006-01-11,25.720179
+2006-01-12,25.345907
+2006-01-13,25.110901
+2006-01-17,24.806265
+2006-01-18,25.485172
+2006-01-19,25.676661
+2006-01-20,25.067385
+2006-01-23,25.015158
+2006-01-24,25.754995
+2006-01-25,25.328497
+2006-01-26,25.398134
+2006-01-27,25.598326
+2006-01-30,25.754995
+2006-01-31,26.930027
+2007-01-03,33.075020
+2007-01-04,32.944454
+2007-01-05,32.657230
+2007-01-08,33.588558
+2007-01-09,34.075970
+2007-01-10,34.215244
+2007-01-11,34.337093
+2007-01-12,34.633026
+2007-01-16,34.598209
+2007-01-17,34.502472
+2007-01-18,34.563393
+2007-01-19,34.815811
+2007-01-22,34.519882
+2007-01-23,34.876732
+2007-01-24,34.937668
+2007-01-25,34.815811
+2007-01-26,34.833221
+2007-01-29,34.415424
+2007-01-30,34.624321
+2007-01-31,34.667839
+2008-01-02,35.895100
+2008-01-03,35.216190
+2008-01-04,34.276176
+2008-01-07,34.075970
+2008-01-08,33.075020
+2008-01-09,33.510216
+2008-01-10,34.232647
+2008-01-11,33.971527
+2008-01-14,34.789688
+2008-01-15,33.997643
+2008-01-16,33.388367
+2008-01-17,33.379654
+2008-01-18,31.891287
+2008-01-22,31.255890
+2008-01-23,31.264595
+2008-01-24,33.075020
+2008-01-25,31.490908
+2008-01-28,32.134995
+2008-01-29,33.780045
+2008-01-30,32.805195
+2008-01-31,32.578907
+2009-01-02,26.277237
+2009-01-05,26.172787
+2009-01-06,26.312048
+2009-01-07,25.293688
+2009-01-08,25.128311
+2009-01-09,24.710526
+2009-01-12,24.388479
+2009-01-13,24.780151
+2009-01-14,24.431995
+2009-01-15,24.945534
+2009-01-16,25.302393
+2009-01-20,24.327549
+2009-01-21,25.728886
+2009-01-22,25.920374
+2009-01-23,26.216307
+2009-01-26,26.111853
+2009-01-27,26.329458
+2009-01-28,27.852650
+2009-01-29,27.173742
+2009-01-30,26.407795
+2010-01-04,37.827374
+2010-01-05,38.454067
+2010-01-06,38.654259
+2010-01-07,38.549805
+2010-01-08,38.628139
+2010-01-11,38.279984
+2010-01-12,37.809982
+2010-01-13,38.610737
+2010-01-14,38.828331
+2010-01-15,38.297386
+2010-01-19,38.462765
+2010-01-20,38.584625
+2010-01-21,38.279984
+2010-01-22,36.713284
+2010-01-25,37.601078
+2010-01-26,37.026611
+2010-01-27,37.131058
+2010-01-28,36.835133
+2010-01-29,36.948273
+2011-01-03,44.938507
+2011-01-04,44.799248
+2011-01-05,44.181263
+2011-01-06,44.059402
+2011-01-07,43.954956
+2011-01-10,43.876633
+2011-01-11,43.928852
+2011-01-12,44.129044
+2011-01-13,44.172562
+2011-01-14,43.389194
+2011-01-18,43.075863
+2011-01-19,42.806049
+2011-01-20,43.798286
+2011-01-21,43.972366
+2011-01-24,44.398861
+2011-01-25,44.712196
+2011-01-26,45.208324
+2011-01-27,45.260544
+2011-01-28,44.668678
+2011-01-31,44.268303
+2012-01-03,51.491856
+2012-01-04,52.236092
+2012-01-05,52.840225
+2012-01-06,52.752670
+2012-01-09,52.901508
+2012-01-10,53.680775
+2012-01-11,54.503792
+2012-01-12,54.678902
+2012-01-13,54.565086
+2012-01-17,54.136066
+2012-01-18,54.652634
+2012-01-19,54.460030
+2012-01-20,53.855877
+2012-01-23,54.118546
+2012-01-24,54.696423
+2012-01-25,55.134193
+2012-01-26,54.416237
+2012-01-27,55.169220
+2012-01-30,55.037891
+2012-01-31,55.606998
+2013-01-02,70.111511
+2013-01-03,68.399765
+2013-01-04,68.337646
+2013-01-07,68.257828
+2013-01-08,68.532753
+2013-01-09,68.940765
+2013-01-10,69.774460
+2013-01-11,69.872040
+2013-01-14,69.801056
+2013-01-15,70.350983
+2013-01-16,69.801056
+2013-01-17,69.951828
+2013-01-18,70.377556
+2013-01-22,70.288864
+2013-01-23,70.040527
+2013-01-24,70.625900
+2013-01-25,70.865387
+2013-01-28,69.960724
+2013-01-29,69.730133
+2013-01-30,68.248940
+2013-01-31,67.539429
+2014-01-02,71.489029
+2014-01-03,71.695953
+2014-01-06,72.154877
+2014-01-07,73.153648
+2014-01-08,73.729523
+2014-01-09,73.873482
+2014-01-10,74.359375
+2014-01-13,73.909470
+2014-01-14,74.377380
+2014-01-15,74.917259
+2014-01-16,74.926239
+2014-01-17,74.818291
+2014-01-21,75.250153
+2014-01-22,75.061211
+2014-01-23,74.935257
+2014-01-24,71.641975
+2014-01-27,71.309059
+2014-01-28,72.487793
+2014-01-29,71.587982
+2014-01-30,73.045677
+2014-01-31,72.775734
+2015-01-02,91.075310
+2015-01-05,89.759499
+2015-01-06,89.521912
+2015-01-07,90.463089
+2015-01-08,91.303749
+2015-01-09,90.837723
+2015-01-12,90.444824
+2015-01-13,89.439659
+2015-01-14,88.873138
+2015-01-15,87.977638
+2015-01-16,89.019341
+2015-01-20,88.754341
+2015-01-21,88.407097
+2015-01-22,90.307762
+2015-01-23,91.011353
+2015-01-26,92.985092
+2015-01-27,91.733246
+2015-01-28,90.353439
+2015-01-29,89.933090
+2015-01-30,88.589851
+2016-01-04,90.093987
+2016-01-05,91.873535
+2016-01-06,91.547432
+2016-01-07,89.264786
+2016-01-08,87.792717
+2016-01-11,88.025642
+2016-01-12,88.025642
+2016-01-13,85.854813
+2016-01-14,85.910713
+2016-01-15,82.351685
+2016-01-19,84.699554
+2016-01-20,82.920021
+2016-01-21,83.870331
+2016-01-22,86.879669
+2016-01-25,84.895180
+2016-01-26,86.152962
+2016-01-27,86.190254
+2016-01-28,86.190254
+2016-01-29,87.895203
+2017-01-03,100.912399
+2017-01-04,101.093018
+2017-01-05,100.741272
+2017-01-06,100.075806
+2017-01-09,99.838142
+2017-01-10,98.393135
+2017-01-11,98.706856
+2017-01-12,99.058601
+2017-01-13,98.345604
+2017-01-17,99.980728
+2017-01-18,100.456078
+2017-01-19,99.286766
+2017-01-20,99.058601
+2017-01-23,99.610001
+2017-01-24,99.410347
+2017-01-25,98.792419
+2017-01-26,99.153679
+2017-01-27,98.697365
+2017-01-30,97.927330
+2017-01-31,98.393135
+2018-01-02,136.862610
+2018-01-03,137.395966
+2018-01-04,135.388565
+2018-01-05,136.261353
+2018-01-08,137.716003
+2018-01-09,136.785034
+2018-01-10,133.449051
+2018-01-11,130.888855
+2018-01-12,128.978455
+2018-01-16,131.528915
+2018-01-17,132.508377
+2018-01-18,131.102219
+2018-01-19,133.458755
+2018-01-22,135.029785
+2018-01-23,136.930496
+2018-01-24,137.473572
+2018-01-25,138.637283
+2018-01-26,140.741669
+2018-01-29,139.965851
+2018-01-30,140.761047
+2018-01-31,143.233963
+2019-01-02,155.352448
+2019-01-03,156.284103
+2019-01-04,156.908539
+2019-01-07,157.879868
+2019-01-08,159.663925
+2019-01-09,158.266403
+2019-01-10,160.427109
+2019-01-11,159.971191
+2019-01-14,159.971191
+2019-01-15,161.606583
+2019-01-16,162.330109
+2019-01-17,162.924805
+2019-01-18,163.212234
+2019-01-22,163.222137
+2019-01-23,164.322311
+2019-01-24,164.183563
+2019-01-25,165.927979
+2019-01-28,166.562317
+2019-01-29,167.940002
+2019-01-30,168.960892
+2019-01-31,171.309906
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/AMZN.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,446 @@
+Date,Adj Close
+1998-01-02,4.958333
+1998-01-05,4.750000
+1998-01-06,4.838542
+1998-01-07,4.781250
+1998-01-08,4.614583
+1998-01-09,4.260417
+1998-01-12,4.302083
+1998-01-13,4.645833
+1998-01-14,4.875000
+1998-01-15,4.953125
+1998-01-16,4.791667
+1998-01-20,4.953125
+1998-01-21,5.072917
+1998-01-22,5.135417
+1998-01-23,4.937500
+1998-01-26,4.812500
+1998-01-27,4.750000
+1998-01-28,4.770833
+1998-01-29,4.958333
+1998-01-30,4.916667
+1999-01-04,59.156250
+1999-01-05,62.250000
+1999-01-06,69.000000
+1999-01-07,79.437500
+1999-01-08,80.125000
+1999-01-11,92.312500
+1999-01-12,81.687500
+1999-01-13,74.000000
+1999-01-14,69.000000
+1999-01-15,70.187500
+1999-01-19,69.906250
+1999-01-20,56.500000
+1999-01-21,53.000000
+1999-01-22,61.500000
+1999-01-25,56.187500
+1999-01-26,57.546875
+1999-01-27,62.812500
+1999-01-28,61.437500
+1999-01-29,58.468750
+2000-01-03,89.375000
+2000-01-04,81.937500
+2000-01-05,69.750000
+2000-01-06,65.562500
+2000-01-07,69.562500
+2000-01-10,69.187500
+2000-01-11,66.750000
+2000-01-12,63.562500
+2000-01-13,65.937500
+2000-01-14,64.250000
+2000-01-18,64.125000
+2000-01-19,66.812500
+2000-01-20,64.750000
+2000-01-21,62.062500
+2000-01-24,70.125000
+2000-01-25,69.250000
+2000-01-26,64.812500
+2000-01-27,66.937500
+2000-01-28,61.687500
+2000-01-31,64.562500
+2001-01-02,13.875000
+2001-01-03,17.562500
+2001-01-04,15.500000
+2001-01-05,14.562500
+2001-01-08,14.937500
+2001-01-09,16.375000
+2001-01-10,16.500000
+2001-01-11,17.000000
+2001-01-12,17.687500
+2001-01-16,18.062500
+2001-01-17,18.375000
+2001-01-18,19.500000
+2001-01-19,19.937500
+2001-01-22,18.500000
+2001-01-23,18.953125
+2001-01-24,21.875000
+2001-01-25,19.000000
+2001-01-26,19.500000
+2001-01-29,20.125000
+2001-01-30,18.937500
+2001-01-31,17.312500
+2002-01-02,10.960000
+2002-01-03,11.900000
+2002-01-04,12.250000
+2002-01-07,12.340000
+2002-01-08,11.850000
+2002-01-09,11.530000
+2002-01-10,11.040000
+2002-01-11,11.030000
+2002-01-14,10.110000
+2002-01-15,10.290000
+2002-01-16,9.130000
+2002-01-17,9.740000
+2002-01-18,10.160000
+2002-01-22,12.600000
+2002-01-23,12.470000
+2002-01-24,14.010000
+2002-01-25,14.440000
+2002-01-28,15.500000
+2002-01-29,14.220000
+2002-01-30,13.900000
+2002-01-31,14.190000
+2003-01-02,19.570000
+2003-01-03,20.520000
+2003-01-06,20.700001
+2003-01-07,21.549999
+2003-01-08,21.020000
+2003-01-09,21.450001
+2003-01-10,21.320000
+2003-01-13,22.040001
+2003-01-14,22.740000
+2003-01-15,22.270000
+2003-01-16,21.799999
+2003-01-17,21.400000
+2003-01-21,21.080000
+2003-01-22,21.170000
+2003-01-23,21.790001
+2003-01-24,22.110001
+2003-01-27,21.780001
+2003-01-28,21.620001
+2003-01-29,22.080000
+2003-01-30,21.820000
+2003-01-31,21.850000
+2004-01-02,51.900002
+2004-01-05,53.270000
+2004-01-06,53.029999
+2004-01-07,51.900002
+2004-01-08,50.240002
+2004-01-09,51.590000
+2004-01-12,52.950001
+2004-01-13,54.910000
+2004-01-14,55.799999
+2004-01-15,56.180000
+2004-01-16,55.720001
+2004-01-20,56.610001
+2004-01-21,56.200001
+2004-01-22,57.180000
+2004-01-23,57.110001
+2004-01-26,57.029999
+2004-01-27,55.740002
+2004-01-28,51.959999
+2004-01-29,49.220001
+2004-01-30,50.400002
+2005-01-03,44.520000
+2005-01-04,42.139999
+2005-01-05,41.770000
+2005-01-06,41.049999
+2005-01-07,42.320000
+2005-01-10,41.840000
+2005-01-11,41.639999
+2005-01-12,42.299999
+2005-01-13,42.599998
+2005-01-14,44.549999
+2005-01-18,44.580002
+2005-01-19,43.959999
+2005-01-20,42.360001
+2005-01-21,41.160000
+2005-01-24,40.380001
+2005-01-25,40.939999
+2005-01-26,41.340000
+2005-01-27,42.310001
+2005-01-28,42.220001
+2005-01-31,43.220001
+2006-01-03,47.580002
+2006-01-04,47.250000
+2006-01-05,47.650002
+2006-01-06,47.869999
+2006-01-09,47.080002
+2006-01-10,45.650002
+2006-01-11,44.930000
+2006-01-12,44.360001
+2006-01-13,44.400002
+2006-01-17,44.000000
+2006-01-18,44.320000
+2006-01-19,44.450001
+2006-01-20,43.919998
+2006-01-23,43.730000
+2006-01-24,44.020000
+2006-01-25,43.599998
+2006-01-26,44.680000
+2006-01-27,45.220001
+2006-01-30,44.959999
+2006-01-31,44.820000
+2007-01-03,38.700001
+2007-01-04,38.900002
+2007-01-05,38.369999
+2007-01-08,37.500000
+2007-01-09,37.779999
+2007-01-10,37.150002
+2007-01-11,37.400002
+2007-01-12,38.200001
+2007-01-16,38.660000
+2007-01-17,37.880001
+2007-01-18,36.980000
+2007-01-19,37.020000
+2007-01-22,36.950001
+2007-01-23,36.430000
+2007-01-24,37.259998
+2007-01-25,37.080002
+2007-01-26,36.849998
+2007-01-29,37.430000
+2007-01-30,37.049999
+2007-01-31,37.669998
+2008-01-02,96.250000
+2008-01-03,95.209999
+2008-01-04,88.790001
+2008-01-07,88.820000
+2008-01-08,87.879997
+2008-01-09,85.220001
+2008-01-10,84.260002
+2008-01-11,81.080002
+2008-01-14,82.870003
+2008-01-15,80.239998
+2008-01-16,80.349998
+2008-01-17,80.120003
+2008-01-18,79.760002
+2008-01-22,78.480003
+2008-01-23,73.970001
+2008-01-24,77.669998
+2008-01-25,77.599998
+2008-01-28,75.820000
+2008-01-29,73.949997
+2008-01-30,74.209999
+2008-01-31,77.699997
+2009-01-02,54.360001
+2009-01-05,54.060001
+2009-01-06,57.360001
+2009-01-07,56.200001
+2009-01-08,57.160000
+2009-01-09,55.509998
+2009-01-12,51.919998
+2009-01-13,51.450001
+2009-01-14,48.490002
+2009-01-15,51.439999
+2009-01-16,51.590000
+2009-01-20,48.439999
+2009-01-21,50.540001
+2009-01-22,49.939999
+2009-01-23,50.630001
+2009-01-26,49.630001
+2009-01-27,48.439999
+2009-01-28,50.360001
+2009-01-29,50.000000
+2009-01-30,58.820000
+2010-01-04,133.899994
+2010-01-05,134.690002
+2010-01-06,132.250000
+2010-01-07,130.000000
+2010-01-08,133.520004
+2010-01-11,130.309998
+2010-01-12,127.349998
+2010-01-13,129.110001
+2010-01-14,127.349998
+2010-01-15,127.139999
+2010-01-19,127.610001
+2010-01-20,125.779999
+2010-01-21,126.620003
+2010-01-22,121.430000
+2010-01-25,120.309998
+2010-01-26,119.480003
+2010-01-27,122.750000
+2010-01-28,126.029999
+2010-01-29,125.410004
+2011-01-03,184.220001
+2011-01-04,185.009995
+2011-01-05,187.419998
+2011-01-06,185.860001
+2011-01-07,185.490005
+2011-01-10,184.679993
+2011-01-11,184.339996
+2011-01-12,184.080002
+2011-01-13,185.529999
+2011-01-14,188.750000
+2011-01-18,191.250000
+2011-01-19,186.869995
+2011-01-20,181.960007
+2011-01-21,177.419998
+2011-01-24,176.850006
+2011-01-25,176.699997
+2011-01-26,175.389999
+2011-01-27,184.449997
+2011-01-28,171.139999
+2011-01-31,169.639999
+2012-01-03,179.029999
+2012-01-04,177.509995
+2012-01-05,177.610001
+2012-01-06,182.610001
+2012-01-09,178.559998
+2012-01-10,179.339996
+2012-01-11,178.899994
+2012-01-12,175.929993
+2012-01-13,178.419998
+2012-01-17,181.660004
+2012-01-18,189.440002
+2012-01-19,194.449997
+2012-01-20,190.929993
+2012-01-23,186.089996
+2012-01-24,187.000000
+2012-01-25,187.800003
+2012-01-26,193.320007
+2012-01-27,195.369995
+2012-01-30,192.149994
+2012-01-31,194.440002
+2013-01-02,257.309998
+2013-01-03,258.480011
+2013-01-04,259.149994
+2013-01-07,268.459991
+2013-01-08,266.380005
+2013-01-09,266.350006
+2013-01-10,265.339996
+2013-01-11,267.940002
+2013-01-14,272.730011
+2013-01-15,271.899994
+2013-01-16,268.929993
+2013-01-17,270.480011
+2013-01-18,272.119995
+2013-01-22,270.190002
+2013-01-23,268.109985
+2013-01-24,273.459991
+2013-01-25,283.989990
+2013-01-28,276.040009
+2013-01-29,260.350006
+2013-01-30,272.760010
+2013-01-31,265.500000
+2014-01-02,397.970001
+2014-01-03,396.440002
+2014-01-06,393.630005
+2014-01-07,398.029999
+2014-01-08,401.920013
+2014-01-09,401.010010
+2014-01-10,397.660004
+2014-01-13,390.980011
+2014-01-14,397.540009
+2014-01-15,395.869995
+2014-01-16,395.799988
+2014-01-17,399.609985
+2014-01-21,407.049988
+2014-01-22,404.540009
+2014-01-23,399.869995
+2014-01-24,387.600006
+2014-01-27,386.279999
+2014-01-28,394.429993
+2014-01-29,384.200012
+2014-01-30,403.010010
+2014-01-31,358.690002
+2015-01-02,308.519989
+2015-01-05,302.190002
+2015-01-06,295.290009
+2015-01-07,298.420013
+2015-01-08,300.459991
+2015-01-09,296.929993
+2015-01-12,291.410004
+2015-01-13,294.739990
+2015-01-14,293.269989
+2015-01-15,286.950012
+2015-01-16,290.739990
+2015-01-20,289.440002
+2015-01-21,297.250000
+2015-01-22,310.320007
+2015-01-23,312.390015
+2015-01-26,309.660004
+2015-01-27,306.750000
+2015-01-28,303.910004
+2015-01-29,311.779999
+2015-01-30,354.529999
+2016-01-04,636.989990
+2016-01-05,633.789978
+2016-01-06,632.650024
+2016-01-07,607.940002
+2016-01-08,607.049988
+2016-01-11,617.739990
+2016-01-12,617.890015
+2016-01-13,581.809998
+2016-01-14,593.000000
+2016-01-15,570.179993
+2016-01-19,574.479980
+2016-01-20,571.770020
+2016-01-21,575.020020
+2016-01-22,596.380005
+2016-01-25,596.530029
+2016-01-26,601.250000
+2016-01-27,583.349976
+2016-01-28,635.349976
+2016-01-29,587.000000
+2017-01-03,753.669983
+2017-01-04,757.179993
+2017-01-05,780.450012
+2017-01-06,795.989990
+2017-01-09,796.919983
+2017-01-10,795.900024
+2017-01-11,799.020020
+2017-01-12,813.640015
+2017-01-13,817.140015
+2017-01-17,809.719971
+2017-01-18,807.479980
+2017-01-19,809.039978
+2017-01-20,808.330017
+2017-01-23,817.880005
+2017-01-24,822.440002
+2017-01-25,836.520020
+2017-01-26,839.150024
+2017-01-27,835.770020
+2017-01-30,830.380005
+2017-01-31,823.479980
+2018-01-02,1189.010010
+2018-01-03,1204.199951
+2018-01-04,1209.589966
+2018-01-05,1229.140015
+2018-01-08,1246.869995
+2018-01-09,1252.699951
+2018-01-10,1254.329956
+2018-01-11,1276.680054
+2018-01-12,1305.199951
+2018-01-16,1304.859985
+2018-01-17,1295.000000
+2018-01-18,1293.319946
+2018-01-19,1294.579956
+2018-01-22,1327.310059
+2018-01-23,1362.540039
+2018-01-24,1357.510010
+2018-01-25,1377.949951
+2018-01-26,1402.050049
+2018-01-29,1417.680054
+2018-01-30,1437.819946
+2018-01-31,1450.890015
+2019-01-02,1539.130005
+2019-01-03,1500.280029
+2019-01-04,1575.390015
+2019-01-07,1629.510010
+2019-01-08,1656.579956
+2019-01-09,1659.420044
+2019-01-10,1656.219971
+2019-01-11,1640.560059
+2019-01-14,1617.209961
+2019-01-15,1674.560059
+2019-01-16,1683.780029
+2019-01-17,1693.219971
+2019-01-18,1696.199951
+2019-01-22,1632.170044
+2019-01-23,1640.020020
+2019-01-24,1654.930054
+2019-01-25,1670.569946
+2019-01-28,1637.890015
+2019-01-29,1593.880005
+2019-01-30,1670.430054
+2019-01-31,1718.729980
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/AVB.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,511 @@
+Date,Adj Close
+1995-01-03,6.572710
+1995-01-04,6.613790
+1995-01-05,6.778107
+1995-01-06,6.654868
+1995-01-09,6.737026
+1995-01-10,6.737026
+1995-01-11,6.695950
+1995-01-12,6.695950
+1995-01-13,6.654868
+1995-01-16,6.695950
+1995-01-17,6.613790
+1995-01-18,6.531631
+1995-01-19,6.613790
+1995-01-20,6.572710
+1995-01-23,6.490552
+1995-01-24,6.449473
+1995-01-25,6.449473
+1995-01-26,6.408393
+1995-01-27,6.367311
+1995-01-30,6.490552
+1995-01-31,6.531631
+1996-01-02,8.631984
+1996-01-03,8.454917
+1996-01-04,8.277851
+1996-01-05,8.233589
+1996-01-08,8.277851
+1996-01-09,8.322120
+1996-01-10,8.189320
+1996-01-11,8.233589
+1996-01-12,8.277851
+1996-01-15,8.233589
+1996-01-16,8.499185
+1996-01-17,8.410650
+1996-01-18,8.366383
+1996-01-19,8.410650
+1996-01-22,8.366383
+1996-01-23,8.366383
+1996-01-24,8.366383
+1996-01-25,8.366383
+1996-01-26,8.277851
+1996-01-29,8.233589
+1996-01-30,8.277851
+1996-01-31,8.454917
+1997-01-02,13.231287
+1997-01-03,13.090528
+1997-01-06,12.996690
+1997-01-07,12.902851
+1997-01-08,12.855939
+1997-01-09,12.902851
+1997-01-10,12.902851
+1997-01-13,12.949774
+1997-01-14,12.949774
+1997-01-15,12.996690
+1997-01-16,13.090528
+1997-01-17,13.137452
+1997-01-20,13.606645
+1997-01-21,13.888163
+1997-01-22,13.935079
+1997-01-23,13.794323
+1997-01-24,13.747406
+1997-01-27,13.700485
+1997-01-28,13.700485
+1997-01-29,13.606645
+1997-01-30,13.465888
+1997-01-31,13.512802
+1998-01-02,15.346482
+1998-01-05,15.395518
+1998-01-06,15.248434
+1998-01-07,15.248434
+1998-01-08,15.101328
+1998-01-09,15.199400
+1998-01-12,15.101328
+1998-01-13,15.248434
+1998-01-14,15.199400
+1998-01-15,14.954247
+1998-01-16,15.052303
+1998-01-20,15.150367
+1998-01-21,15.003278
+1998-01-22,14.905222
+1998-01-23,14.905222
+1998-01-26,14.954247
+1998-01-27,14.905222
+1998-01-28,14.954247
+1998-01-29,14.954247
+1998-01-30,14.856180
+1999-01-04,14.073502
+1999-01-05,14.099419
+1999-01-06,14.099419
+1999-01-07,14.073502
+1999-01-08,14.021667
+1999-01-11,14.073502
+1999-01-12,14.021667
+1999-01-13,13.917997
+1999-01-14,13.917997
+1999-01-15,13.943911
+1999-01-19,13.969828
+1999-01-20,14.099419
+1999-01-21,14.099419
+1999-01-22,13.995751
+1999-01-25,13.866154
+1999-01-26,13.684725
+1999-01-27,13.684725
+1999-01-28,13.581059
+1999-01-29,13.295959
+2000-01-03,14.969457
+2000-01-04,14.638631
+2000-01-05,14.776474
+2000-01-06,15.272695
+2000-01-07,15.658648
+2000-01-10,15.851620
+2000-01-11,15.520806
+2000-01-12,15.493246
+2000-01-13,15.438103
+2000-01-14,15.438103
+2000-01-18,15.162419
+2000-01-19,15.686217
+2000-01-20,15.520806
+2000-01-21,15.548378
+2000-01-24,15.548378
+2000-01-25,15.548378
+2000-01-26,15.493246
+2000-01-27,15.520806
+2000-01-28,15.327839
+2000-01-31,15.217558
+2001-01-02,23.010500
+2001-01-03,23.010500
+2001-01-04,22.894283
+2001-01-05,22.342255
+2001-01-08,22.255102
+2001-01-09,22.371315
+2001-01-10,22.226044
+2001-01-11,22.226044
+2001-01-12,22.080778
+2001-01-16,21.644968
+2001-01-17,21.935507
+2001-01-18,22.080778
+2001-01-19,22.080778
+2001-01-22,21.877401
+2001-01-23,21.964563
+2001-01-24,21.644968
+2001-01-25,22.051722
+2001-01-26,21.848343
+2001-01-29,21.992453
+2001-01-30,22.434065
+2001-01-31,22.587465
+2002-01-02,23.427723
+2002-01-03,23.676481
+2002-01-04,23.616768
+2002-01-07,23.557074
+2002-01-08,23.527220
+2002-01-09,23.472490
+2002-01-10,23.253595
+2002-01-11,23.064539
+2002-01-14,22.955086
+2002-01-15,22.840658
+2002-01-16,22.835680
+2002-01-17,22.805841
+2002-01-18,22.557083
+2002-01-22,22.572001
+2002-01-23,22.527224
+2002-01-24,22.467522
+2002-01-25,22.397873
+2002-01-28,22.208822
+2002-01-29,22.109312
+2002-01-30,22.188915
+2002-01-31,22.363056
+2003-01-02,20.913961
+2003-01-03,21.184324
+2003-01-06,21.327459
+2003-01-07,20.866241
+2003-01-08,20.850338
+2003-01-09,20.876848
+2003-01-10,20.770821
+2003-01-13,20.675394
+2003-01-14,20.595871
+2003-01-15,20.479240
+2003-01-16,20.198261
+2003-01-17,19.795374
+2003-01-21,19.424274
+2003-01-22,19.281128
+2003-01-23,19.535591
+2003-01-24,19.350050
+2003-01-27,19.042566
+2003-01-28,19.297035
+2003-01-29,19.503788
+2003-01-30,19.456076
+2003-01-31,19.509085
+2004-01-02,26.758617
+2004-01-05,26.758617
+2004-01-06,26.854731
+2004-01-07,26.600321
+2004-01-08,26.854731
+2004-01-09,27.222212
+2004-01-12,27.109158
+2004-01-13,26.933880
+2004-01-14,27.035662
+2004-01-15,27.120462
+2004-01-16,26.798201
+2004-01-20,26.566393
+2004-01-21,26.515518
+2004-01-22,26.883007
+2004-01-23,26.973459
+2004-01-26,27.403141
+2004-01-27,27.702782
+2004-01-28,27.731049
+2004-01-29,27.646238
+2004-01-30,27.759306
+2005-01-03,44.068138
+2005-01-04,43.576534
+2005-01-05,41.473808
+2005-01-06,42.143120
+2005-01-07,42.083897
+2005-01-10,41.580418
+2005-01-11,40.644577
+2005-01-12,40.632717
+2005-01-13,40.567566
+2005-01-14,40.780800
+2005-01-18,41.023659
+2005-01-19,41.420506
+2005-01-20,41.165806
+2005-01-21,41.242809
+2005-01-24,40.757111
+2005-01-25,39.371098
+2005-01-26,39.673183
+2005-01-27,39.122322
+2005-01-28,39.566559
+2005-01-31,39.637642
+2006-01-03,56.151390
+2006-01-04,56.771648
+2006-01-05,57.600662
+2006-01-06,58.687576
+2006-01-09,59.449036
+2006-01-10,59.749928
+2006-01-11,59.381493
+2006-01-12,59.320076
+2006-01-13,58.454220
+2006-01-17,58.491062
+2006-01-18,58.552471
+2006-01-19,58.951611
+2006-01-20,58.337532
+2006-01-23,58.509495
+2006-01-24,59.559563
+2006-01-25,60.364002
+2006-01-26,60.971935
+2006-01-27,61.592171
+2006-01-30,60.757015
+2006-01-31,61.088623
+2007-01-03,81.239792
+2007-01-04,83.107506
+2007-01-05,82.161011
+2007-01-08,83.164291
+2007-01-09,81.637329
+2007-01-10,82.874046
+2007-01-11,85.448479
+2007-01-12,86.174126
+2007-01-16,88.060776
+2007-01-17,88.552956
+2007-01-18,89.549866
+2007-01-19,90.540543
+2007-01-22,89.694992
+2007-01-23,90.786652
+2007-01-24,92.528145
+2007-01-25,92.427193
+2007-01-26,92.622826
+2007-01-29,91.953964
+2007-01-30,93.487289
+2007-01-31,93.613472
+2008-01-02,59.399319
+2008-01-03,57.110527
+2008-01-04,54.633099
+2008-01-07,56.538296
+2008-01-08,55.055748
+2008-01-09,56.258698
+2008-01-10,56.479763
+2008-01-11,57.130009
+2008-01-14,55.777527
+2008-01-15,54.327492
+2008-01-16,56.395237
+2008-01-17,55.309345
+2008-01-18,54.086899
+2008-01-22,56.167660
+2008-01-23,62.071842
+2008-01-24,59.971554
+2008-01-25,59.756985
+2008-01-28,62.097870
+2008-01-29,62.052303
+2008-01-30,60.374710
+2008-01-31,60.979443
+2009-01-02,41.755661
+2009-01-05,40.579842
+2009-01-06,42.861504
+2009-01-07,41.503689
+2009-01-08,40.075912
+2009-01-09,38.179203
+2009-01-12,35.729565
+2009-01-13,37.570305
+2009-01-14,36.478451
+2009-01-15,37.640293
+2009-01-16,38.655128
+2009-01-20,35.225651
+2009-01-21,39.481010
+2009-01-22,36.506458
+2009-01-23,38.060219
+2009-01-26,37.535294
+2009-01-27,38.487148
+2009-01-28,41.013760
+2009-01-29,38.270195
+2009-01-30,36.261497
+2010-01-04,60.210892
+2010-01-05,59.758575
+2010-01-06,59.195042
+2010-01-07,59.313690
+2010-01-08,58.868763
+2010-01-11,59.677010
+2010-01-12,58.275566
+2010-01-13,59.632526
+2010-01-14,59.276608
+2010-01-15,58.898422
+2010-01-19,59.981052
+2010-01-20,58.638924
+2010-01-21,57.318996
+2010-01-22,55.939785
+2010-01-25,56.785114
+2010-01-26,57.044662
+2010-01-27,57.356083
+2010-01-28,57.074341
+2010-01-29,56.807362
+2011-01-03,87.447121
+2011-01-04,85.810509
+2011-01-05,86.048691
+2011-01-06,85.065178
+2011-01-07,84.143173
+2011-01-10,83.912666
+2011-01-11,83.874237
+2011-01-12,85.418633
+2011-01-13,85.633774
+2011-01-14,86.440559
+2011-01-18,87.032188
+2011-01-19,86.417511
+2011-01-20,86.233109
+2011-01-21,86.694145
+2011-01-24,86.870842
+2011-01-25,88.092545
+2011-01-26,88.776390
+2011-01-27,89.260460
+2011-01-28,87.424057
+2011-01-31,89.076057
+2012-01-03,102.840073
+2012-01-04,100.815544
+2012-01-05,102.674034
+2012-01-06,101.384964
+2012-01-09,100.396400
+2012-01-10,101.313782
+2012-01-11,100.855110
+2012-01-12,98.269073
+2012-01-13,100.032623
+2012-01-17,101.804092
+2012-01-18,101.211006
+2012-01-19,100.507126
+2012-01-20,101.084450
+2012-01-23,102.594910
+2012-01-24,103.702095
+2012-01-25,105.821541
+2012-01-26,106.675629
+2012-01-27,107.094788
+2012-01-30,106.667717
+2012-01-31,107.561394
+2013-01-02,110.684265
+2013-01-03,111.294510
+2013-01-04,110.960884
+2013-01-07,111.074806
+2013-01-08,110.733070
+2013-01-09,111.180580
+2013-01-10,111.546768
+2013-01-11,110.790039
+2013-01-14,111.318893
+2013-01-15,112.588272
+2013-01-16,112.230263
+2013-01-17,112.759132
+2013-01-18,112.742828
+2013-01-22,113.222900
+2013-01-23,113.068321
+2013-01-24,112.563835
+2013-01-25,112.628922
+2013-01-28,111.994270
+2013-01-29,112.222092
+2013-01-30,110.366920
+2013-01-31,105.606926
+2014-01-02,99.504868
+2014-01-03,100.784035
+2014-01-06,102.282013
+2014-01-07,101.844391
+2014-01-08,102.096848
+2014-01-09,101.734985
+2014-01-10,102.500793
+2014-01-13,101.684494
+2014-01-14,102.441895
+2014-01-15,103.207687
+2014-01-16,103.384422
+2014-01-17,102.568123
+2014-01-21,102.786926
+2014-01-22,102.593384
+2014-01-23,101.533005
+2014-01-24,100.582069
+2014-01-27,99.622688
+2014-01-28,98.907387
+2014-01-29,98.983116
+2014-01-30,102.803772
+2014-01-31,103.931435
+2015-01-02,144.122437
+2015-01-05,145.095932
+2015-01-06,147.068985
+2015-01-07,148.772690
+2015-01-08,150.154663
+2015-01-09,150.615372
+2015-01-12,151.919144
+2015-01-13,151.762711
+2015-01-14,153.718414
+2015-01-15,154.283401
+2015-01-16,155.656738
+2015-01-20,152.605820
+2015-01-21,153.796646
+2015-01-22,155.552414
+2015-01-23,155.500275
+2015-01-26,156.691101
+2015-01-27,155.987030
+2015-01-28,154.326828
+2015-01-29,152.023453
+2015-01-30,150.363297
+2016-01-04,161.715866
+2016-01-05,165.438400
+2016-01-06,164.203506
+2016-01-07,163.451889
+2016-01-08,160.552582
+2016-01-11,161.554794
+2016-01-12,160.633118
+2016-01-13,158.387039
+2016-01-14,157.653290
+2016-01-15,157.223740
+2016-01-19,159.595108
+2016-01-20,153.483353
+2016-01-21,153.286469
+2016-01-22,155.997849
+2016-01-25,155.944138
+2016-01-26,159.281906
+2016-01-27,157.125336
+2016-01-28,152.785355
+2016-01-29,153.456482
+2017-01-03,162.885696
+2017-01-04,163.558975
+2017-01-05,164.554947
+2017-01-06,166.002884
+2017-01-09,163.439072
+2017-01-10,163.070160
+2017-01-11,161.548477
+2017-01-12,162.858032
+2017-01-13,162.553711
+2017-01-17,162.599854
+2017-01-18,162.839600
+2017-01-19,161.594604
+2017-01-20,163.208496
+2017-01-23,163.143951
+2017-01-24,161.908157
+2017-01-25,159.943771
+2017-01-26,160.663132
+2017-01-27,159.657867
+2017-01-30,158.726456
+2017-01-31,159.833099
+2018-01-02,168.617706
+2018-01-03,169.140915
+2018-01-04,166.115631
+2018-01-05,165.782669
+2018-01-08,165.906342
+2018-01-09,164.650558
+2018-01-10,162.643219
+2018-01-11,161.511093
+2018-01-12,160.045990
+2018-01-16,160.807083
+2018-01-17,161.644287
+2018-01-18,159.627426
+2018-01-19,160.493149
+2018-01-22,161.825043
+2018-01-23,164.289063
+2018-01-24,163.442337
+2018-01-25,161.901154
+2018-01-26,161.815536
+2018-01-29,160.065048
+2018-01-30,158.752167
+2018-01-31,162.110443
+2019-01-02,166.651459
+2019-01-03,167.439407
+2019-01-04,168.621323
+2019-01-07,168.148560
+2019-01-08,171.635223
+2019-01-09,173.112640
+2019-01-10,175.309052
+2019-01-11,175.900024
+2019-01-14,175.496185
+2019-01-15,177.081924
+2019-01-16,179.416245
+2019-01-17,180.578476
+2019-01-18,181.317169
+2019-01-22,181.258087
+2019-01-23,182.154373
+2019-01-24,182.164215
+2019-01-25,183.838608
+2019-01-28,185.995621
+2019-01-29,187.857162
+2019-01-30,188.349625
+2019-01-31,190.014160
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/BIDU.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,284 @@
+Date,Adj Close
+2006-01-03,6.350000
+2006-01-04,6.630000
+2006-01-05,6.620000
+2006-01-06,6.584000
+2006-01-09,6.613000
+2006-01-10,6.668000
+2006-01-11,6.535000
+2006-01-12,6.465000
+2006-01-13,6.553000
+2006-01-17,6.474000
+2006-01-18,6.250000
+2006-01-19,6.230000
+2006-01-20,6.086000
+2006-01-23,5.630000
+2006-01-24,5.642000
+2006-01-25,5.250000
+2006-01-26,5.186000
+2006-01-27,5.172000
+2006-01-30,5.251000
+2006-01-31,5.451000
+2007-01-03,12.241000
+2007-01-04,12.600000
+2007-01-05,12.250000
+2007-01-08,12.195000
+2007-01-09,12.372000
+2007-01-10,12.801000
+2007-01-11,13.118000
+2007-01-12,12.470000
+2007-01-16,12.744000
+2007-01-17,12.549000
+2007-01-18,12.138000
+2007-01-19,12.140000
+2007-01-22,12.240000
+2007-01-23,12.455000
+2007-01-24,12.490000
+2007-01-25,12.374000
+2007-01-26,12.340000
+2007-01-29,12.340000
+2007-01-30,12.407000
+2007-01-31,12.494000
+2008-01-02,38.188000
+2008-01-03,37.508999
+2008-01-04,36.099998
+2008-01-07,34.431000
+2008-01-08,34.521000
+2008-01-09,34.410000
+2008-01-10,33.953999
+2008-01-11,32.924999
+2008-01-14,34.040001
+2008-01-15,31.820000
+2008-01-16,29.330000
+2008-01-17,26.499001
+2008-01-18,27.304001
+2008-01-22,27.365999
+2008-01-23,27.020000
+2008-01-24,30.719999
+2008-01-25,29.947001
+2008-01-28,29.132000
+2008-01-29,27.070999
+2008-01-30,25.938999
+2008-01-31,27.995001
+2009-01-02,13.541000
+2009-01-05,13.784000
+2009-01-06,13.573000
+2009-01-07,12.734000
+2009-01-08,12.465000
+2009-01-09,12.064000
+2009-01-12,11.410000
+2009-01-13,11.550000
+2009-01-14,10.975000
+2009-01-15,10.944000
+2009-01-16,11.590000
+2009-01-20,10.965000
+2009-01-21,11.092000
+2009-01-22,11.253000
+2009-01-23,11.195000
+2009-01-26,11.557000
+2009-01-27,11.530000
+2009-01-28,12.716000
+2009-01-29,12.864000
+2009-01-30,12.877000
+2010-01-04,41.002998
+2010-01-05,40.590000
+2010-01-06,41.250000
+2010-01-07,40.463001
+2010-01-08,40.426998
+2010-01-11,40.056999
+2010-01-12,38.648998
+2010-01-13,43.948002
+2010-01-14,46.423000
+2010-01-15,46.768002
+2010-01-19,44.084000
+2010-01-20,43.966999
+2010-01-21,43.997002
+2010-01-22,41.689999
+2010-01-25,41.515999
+2010-01-26,41.938000
+2010-01-27,42.436001
+2010-01-28,41.785000
+2010-01-29,41.171001
+2011-01-03,99.730003
+2011-01-04,100.970001
+2011-01-05,104.629997
+2011-01-06,105.160004
+2011-01-07,106.949997
+2011-01-10,105.980003
+2011-01-11,106.279999
+2011-01-12,105.930000
+2011-01-13,106.250000
+2011-01-14,107.730003
+2011-01-18,108.150002
+2011-01-19,107.309998
+2011-01-20,105.660004
+2011-01-21,105.099998
+2011-01-24,106.360001
+2011-01-25,105.889999
+2011-01-26,107.949997
+2011-01-27,109.050003
+2011-01-28,106.540001
+2011-01-31,108.629997
+2012-01-03,124.290001
+2012-01-04,121.989998
+2012-01-05,123.269997
+2012-01-06,121.089996
+2012-01-09,120.110001
+2012-01-10,126.879997
+2012-01-11,128.190002
+2012-01-12,128.300003
+2012-01-13,127.410004
+2012-01-17,128.850006
+2012-01-18,126.070000
+2012-01-19,123.620003
+2012-01-20,122.800003
+2012-01-23,123.930000
+2012-01-24,121.750000
+2012-01-25,125.029999
+2012-01-26,123.900002
+2012-01-27,131.360001
+2012-01-30,130.729996
+2012-01-31,127.519997
+2013-01-02,104.120003
+2013-01-03,104.980003
+2013-01-04,104.650002
+2013-01-07,102.290001
+2013-01-08,101.089996
+2013-01-09,104.339996
+2013-01-10,110.570000
+2013-01-11,112.970001
+2013-01-14,112.639999
+2013-01-15,111.660004
+2013-01-16,109.930000
+2013-01-17,108.430000
+2013-01-18,109.839996
+2013-01-22,108.910004
+2013-01-23,108.300003
+2013-01-24,107.919998
+2013-01-25,108.010002
+2013-01-28,111.389999
+2013-01-29,109.449997
+2013-01-30,108.980003
+2013-01-31,108.300003
+2014-01-02,179.990005
+2014-01-03,175.279999
+2014-01-06,176.630005
+2014-01-07,178.820007
+2014-01-08,181.789993
+2014-01-09,175.520004
+2014-01-10,179.660004
+2014-01-13,171.000000
+2014-01-14,172.869995
+2014-01-15,170.500000
+2014-01-16,173.000000
+2014-01-17,170.139999
+2014-01-21,172.699997
+2014-01-22,174.429993
+2014-01-23,163.580002
+2014-01-24,161.369995
+2014-01-27,158.679993
+2014-01-28,164.240005
+2014-01-29,158.100006
+2014-01-30,160.809998
+2014-01-31,156.500000
+2015-01-02,223.080002
+2015-01-05,219.789993
+2015-01-06,220.179993
+2015-01-07,224.350006
+2015-01-08,229.210007
+2015-01-09,226.899994
+2015-01-12,220.889999
+2015-01-13,219.600006
+2015-01-14,216.820007
+2015-01-15,215.970001
+2015-01-16,220.199997
+2015-01-20,220.360001
+2015-01-21,228.279999
+2015-01-22,229.880005
+2015-01-23,233.330002
+2015-01-26,229.460007
+2015-01-27,227.529999
+2015-01-28,220.309998
+2015-01-29,220.389999
+2015-01-30,217.919998
+2016-01-04,184.029999
+2016-01-05,187.369995
+2016-01-06,185.610001
+2016-01-07,174.369995
+2016-01-08,171.339996
+2016-01-11,170.369995
+2016-01-12,172.910004
+2016-01-13,166.039993
+2016-01-14,172.229996
+2016-01-15,163.919998
+2016-01-19,166.029999
+2016-01-20,164.990005
+2016-01-21,169.559998
+2016-01-22,171.169998
+2016-01-25,167.539993
+2016-01-26,167.080002
+2016-01-27,158.270004
+2016-01-28,156.940002
+2016-01-29,163.270004
+2017-01-03,168.300003
+2017-01-04,171.960007
+2017-01-05,177.470001
+2017-01-06,176.380005
+2017-01-09,177.160004
+2017-01-10,180.309998
+2017-01-11,179.320007
+2017-01-12,177.570007
+2017-01-13,176.479996
+2017-01-17,176.960007
+2017-01-18,176.539993
+2017-01-19,176.089996
+2017-01-20,173.440002
+2017-01-23,175.970001
+2017-01-24,176.050003
+2017-01-25,176.610001
+2017-01-26,174.949997
+2017-01-27,174.100006
+2017-01-30,174.720001
+2017-01-31,175.070007
+2018-01-02,242.399994
+2018-01-03,245.550003
+2018-01-04,245.729996
+2018-01-05,245.139999
+2018-01-08,250.820007
+2018-01-09,254.729996
+2018-01-10,248.949997
+2018-01-11,250.220001
+2018-01-12,253.039993
+2018-01-16,257.779999
+2018-01-17,255.490005
+2018-01-18,254.960007
+2018-01-19,255.979996
+2018-01-22,254.339996
+2018-01-23,257.350006
+2018-01-24,257.959991
+2018-01-25,254.139999
+2018-01-26,260.250000
+2018-01-29,253.729996
+2018-01-30,244.070007
+2018-01-31,246.919998
+2019-01-02,162.250000
+2019-01-03,154.710007
+2019-01-04,160.949997
+2019-01-07,162.600006
+2019-01-08,163.399994
+2019-01-09,166.639999
+2019-01-10,168.350006
+2019-01-11,166.110001
+2019-01-14,163.029999
+2019-01-15,167.929993
+2019-01-16,169.750000
+2019-01-17,168.110001
+2019-01-18,171.360001
+2019-01-22,160.389999
+2019-01-23,163.259995
+2019-01-24,162.699997
+2019-01-25,167.100006
+2019-01-28,167.500000
+2019-01-29,165.270004
+2019-01-30,169.339996
+2019-01-31,172.630005
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/BXP.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,446 @@
+Date,Adj Close
+1998-01-02,12.250322
+1998-01-05,12.411821
+1998-01-06,12.434880
+1998-01-07,12.388745
+1998-01-08,12.434880
+1998-01-09,12.342604
+1998-01-12,12.181111
+1998-01-13,11.996552
+1998-01-14,12.134976
+1998-01-15,12.273396
+1998-01-16,12.734801
+1998-01-20,12.388745
+1998-01-21,12.596381
+1998-01-22,12.757872
+1998-01-23,12.896292
+1998-01-26,12.965504
+1998-01-27,13.126990
+1998-01-28,13.150065
+1998-01-29,13.196207
+1998-01-30,13.126990
+1999-01-04,11.804377
+1999-01-05,12.193801
+1999-01-06,12.218141
+1999-01-07,12.242476
+1999-01-08,12.315492
+1999-01-11,12.339834
+1999-01-12,12.315492
+1999-01-13,12.315492
+1999-01-14,12.218141
+1999-01-15,12.315492
+1999-01-19,12.364172
+1999-01-20,12.388512
+1999-01-21,12.437188
+1999-01-22,13.289052
+1999-01-25,13.337728
+1999-01-26,13.508098
+1999-01-27,12.996985
+1999-01-28,12.826613
+1999-01-29,12.656240
+2000-01-03,12.634558
+2000-01-04,12.428687
+2000-01-05,12.531624
+2000-01-06,12.763212
+2000-01-07,13.226395
+2000-01-10,13.329324
+2000-01-11,13.200665
+2000-01-12,12.994806
+2000-01-13,13.072001
+2000-01-14,12.994806
+2000-01-18,12.866148
+2000-01-19,12.866148
+2000-01-20,12.711751
+2000-01-21,12.583082
+2000-01-24,12.531624
+2000-01-25,12.583082
+2000-01-26,12.634558
+2000-01-27,12.583082
+2000-01-28,12.531624
+2000-01-31,12.351498
+2001-01-02,18.802280
+2001-01-03,18.612354
+2001-01-04,18.476696
+2001-01-05,17.717009
+2001-01-08,17.472828
+2001-01-09,17.554220
+2001-01-10,17.608477
+2001-01-11,17.418560
+2001-01-12,17.608477
+2001-01-16,17.527094
+2001-01-17,17.554220
+2001-01-18,17.689880
+2001-01-19,17.717009
+2001-01-22,17.906931
+2001-01-23,18.015459
+2001-01-24,18.205383
+2001-01-25,18.395302
+2001-01-26,18.069717
+2001-01-29,17.750648
+2001-01-30,17.785381
+2001-01-31,17.624760
+2002-01-02,17.608702
+2002-01-03,17.668549
+2002-01-04,17.719187
+2002-01-07,17.815861
+2002-01-08,17.935553
+2002-01-09,17.912537
+2002-01-10,17.907930
+2002-01-11,17.654736
+2002-01-14,17.654736
+2002-01-15,17.479799
+2002-01-16,17.424557
+2002-01-17,17.355501
+2002-01-18,17.226597
+2002-01-22,17.203581
+2002-01-23,17.263430
+2002-01-24,16.885937
+2002-01-25,16.941177
+2002-01-28,16.904356
+2002-01-29,16.826097
+2002-01-30,16.918156
+2002-01-31,16.867519
+2003-01-02,18.039816
+2003-01-03,18.113350
+2003-01-06,18.177078
+2003-01-07,18.162369
+2003-01-08,17.971184
+2003-01-09,18.015299
+2003-01-10,17.902550
+2003-01-13,17.696672
+2003-01-14,17.569212
+2003-01-15,17.525095
+2003-01-16,17.436859
+2003-01-17,17.230963
+2003-01-21,17.152531
+2003-01-22,17.378025
+2003-01-23,17.333912
+2003-01-24,17.255478
+2003-01-27,17.402548
+2003-01-28,17.510384
+2003-01-29,17.559410
+2003-01-30,17.412350
+2003-01-31,17.598627
+2004-01-02,25.064890
+2004-01-05,24.935019
+2004-01-06,25.002556
+2004-01-07,24.950598
+2004-01-08,25.075274
+2004-01-09,25.168781
+2004-01-12,25.158403
+2004-01-13,25.189569
+2004-01-14,25.392160
+2004-01-15,24.981770
+2004-01-16,24.831118
+2004-01-20,24.701256
+2004-01-21,24.389563
+2004-01-22,24.727230
+2004-01-23,24.960999
+2004-01-26,25.589565
+2004-01-27,25.947998
+2004-01-28,25.677872
+2004-01-29,25.854494
+2004-01-30,25.989567
+2005-01-03,34.649033
+2005-01-04,34.055672
+2005-01-05,32.716530
+2005-01-06,33.315338
+2005-01-07,33.255447
+2005-01-10,32.999592
+2005-01-11,32.460674
+2005-01-12,32.242928
+2005-01-13,32.498775
+2005-01-14,32.596764
+2005-01-18,32.945168
+2005-01-19,32.934280
+2005-01-20,32.912510
+2005-01-21,32.912510
+2005-01-24,32.428017
+2005-01-25,31.731232
+2005-01-26,31.595118
+2005-01-27,30.990892
+2005-01-28,31.567921
+2005-01-31,31.453585
+2006-01-03,44.235130
+2006-01-04,44.399471
+2006-01-05,45.080376
+2006-01-06,45.990200
+2006-01-09,46.612411
+2006-01-10,46.665257
+2006-01-11,45.996075
+2006-01-12,45.690830
+2006-01-13,45.144928
+2006-01-17,45.009937
+2006-01-18,44.610794
+2006-01-19,44.968853
+2006-01-20,44.781029
+2006-01-23,45.092110
+2006-01-24,45.538227
+2006-01-25,45.397335
+2006-01-26,45.614536
+2006-01-27,45.908020
+2006-01-30,45.784763
+2006-01-31,45.937389
+2007-01-03,71.078346
+2007-01-04,70.818375
+2007-01-05,69.575493
+2007-01-08,69.974998
+2007-01-09,70.862747
+2007-01-10,72.327560
+2007-01-11,73.056793
+2007-01-12,73.475334
+2007-01-16,75.282547
+2007-01-17,75.155754
+2007-01-18,74.806992
+2007-01-19,76.049850
+2007-01-22,75.980095
+2007-01-23,76.347878
+2007-01-24,77.318085
+2007-01-25,77.825371
+2007-01-26,77.793663
+2007-01-29,77.647827
+2007-01-30,78.503891
+2007-01-31,79.955994
+2008-01-02,64.176460
+2008-01-03,62.031960
+2008-01-04,59.576126
+2008-01-07,59.091900
+2008-01-08,56.795177
+2008-01-09,58.254833
+2008-01-10,60.177986
+2008-01-11,61.775978
+2008-01-14,61.603058
+2008-01-15,60.233334
+2008-01-16,61.284824
+2008-01-17,60.212566
+2008-01-18,58.925869
+2008-01-22,61.374760
+2008-01-23,65.207230
+2008-01-24,63.505447
+2008-01-25,62.025032
+2008-01-28,64.563873
+2008-01-29,64.439354
+2008-01-30,61.789818
+2008-01-31,63.443180
+2009-01-02,39.477814
+2009-01-05,37.666096
+2009-01-06,39.778561
+2009-01-07,38.210320
+2009-01-08,39.169876
+2009-01-09,37.458435
+2009-01-12,34.801762
+2009-01-13,35.711174
+2009-01-14,33.247864
+2009-01-15,33.161926
+2009-01-16,34.407906
+2009-01-20,29.330856
+2009-01-21,30.899094
+2009-01-22,29.602980
+2009-01-23,31.063784
+2009-01-26,31.292946
+2009-01-27,31.400351
+2009-01-28,33.863686
+2009-01-29,31.693943
+2009-01-30,31.006506
+2010-01-04,50.195385
+2010-01-05,50.958416
+2010-01-06,51.197796
+2010-01-07,51.422218
+2010-01-08,50.756420
+2010-01-11,50.995823
+2010-01-12,50.487133
+2010-01-13,51.317471
+2010-01-14,51.100540
+2010-01-15,50.935966
+2010-01-19,52.013191
+2010-01-20,51.669071
+2010-01-21,49.252823
+2010-01-22,48.085819
+2010-01-25,48.699249
+2010-01-26,48.414982
+2010-01-27,48.676807
+2010-01-28,48.916176
+2010-01-29,48.527180
+2011-01-03,68.387184
+2011-01-04,66.332047
+2011-01-05,66.776817
+2011-01-06,65.848946
+2011-01-07,65.128082
+2011-01-10,64.936378
+2011-01-11,64.921043
+2011-01-12,66.301369
+2011-01-13,66.876511
+2011-01-14,68.609566
+2011-01-18,69.460770
+2011-01-19,68.732246
+2011-01-20,68.977646
+2011-01-21,69.238380
+2011-01-24,69.414749
+2011-01-25,69.982224
+2011-01-26,70.802742
+2011-01-27,71.868660
+2011-01-28,71.094139
+2011-01-31,72.367088
+2012-01-03,79.346756
+2012-01-04,77.788338
+2012-01-05,77.921455
+2012-01-06,77.702202
+2012-01-09,77.247963
+2012-01-10,77.984116
+2012-01-11,78.226898
+2012-01-12,76.911217
+2012-01-13,76.347374
+2012-01-17,77.294952
+2012-01-18,77.670868
+2012-01-19,78.125076
+2012-01-20,78.203392
+2012-01-23,78.876892
+2012-01-24,79.840134
+2012-01-25,81.249771
+2012-01-26,81.194962
+2012-01-27,81.633492
+2012-01-30,80.310005
+2012-01-31,81.484718
+2013-01-02,85.356575
+2013-01-03,85.460632
+2013-01-04,86.012840
+2013-01-07,86.645119
+2013-01-08,85.900787
+2013-01-09,86.084869
+2013-01-10,85.956825
+2013-01-11,85.636696
+2013-01-14,85.924820
+2013-01-15,86.997269
+2013-01-16,86.108887
+2013-01-17,85.732742
+2013-01-18,86.300980
+2013-01-22,87.173332
+2013-01-23,87.045296
+2013-01-24,87.237373
+2013-01-25,87.605522
+2013-01-28,87.101303
+2013-01-29,87.117325
+2013-01-30,85.244522
+2013-01-31,84.260094
+2014-01-02,84.232132
+2014-01-03,85.238998
+2014-01-06,86.187111
+2014-01-07,86.740891
+2014-01-08,86.161942
+2014-01-09,86.203903
+2014-01-10,87.630280
+2014-01-13,86.925484
+2014-01-14,87.730965
+2014-01-15,88.259560
+2014-01-16,87.991081
+2014-01-17,87.882004
+2014-01-21,89.115387
+2014-01-22,90.021584
+2014-01-23,89.694351
+2014-01-24,88.007866
+2014-01-27,87.521210
+2014-01-28,88.368652
+2014-01-29,88.771400
+2014-01-30,90.617294
+2014-01-31,90.692802
+2015-01-02,116.460297
+2015-01-05,117.516144
+2015-01-06,119.796387
+2015-01-07,121.136139
+2015-01-08,121.624115
+2015-01-09,122.236328
+2015-01-12,122.742020
+2015-01-13,122.475853
+2015-01-14,123.913231
+2015-01-15,124.188255
+2015-01-16,125.181976
+2015-01-20,124.676247
+2015-01-21,124.676247
+2015-01-22,127.018593
+2015-01-23,126.583824
+2015-01-26,127.967911
+2015-01-27,127.959053
+2015-01-28,126.858864
+2015-01-29,127.267021
+2015-01-30,123.150200
+2016-01-04,113.585251
+2016-01-05,116.383743
+2016-01-06,116.365448
+2016-01-07,114.298607
+2016-01-08,111.097733
+2016-01-11,112.195175
+2016-01-12,110.667892
+2016-01-13,108.582764
+2016-01-14,109.625336
+2016-01-15,108.326691
+2016-01-19,109.131470
+2016-01-20,105.948891
+2016-01-21,106.122665
+2016-01-22,109.012581
+2016-01-25,107.741386
+2016-01-26,110.064301
+2016-01-27,108.957710
+2016-01-28,105.573944
+2016-01-29,106.278122
+2017-01-03,118.795525
+2017-01-04,122.569183
+2017-01-05,123.157661
+2017-01-06,122.877441
+2017-01-09,121.653801
+2017-01-10,120.299377
+2017-01-11,118.627388
+2017-01-12,120.504890
+2017-01-13,120.028511
+2017-01-17,120.869171
+2017-01-18,121.765884
+2017-01-19,119.981796
+2017-01-20,120.729057
+2017-01-23,121.990059
+2017-01-24,123.493935
+2017-01-25,121.653801
+2017-01-26,122.690628
+2017-01-27,122.130188
+2017-01-30,121.681824
+2017-01-31,122.270287
+2018-01-02,123.708664
+2018-01-03,123.775658
+2018-01-04,121.029327
+2018-01-05,122.349854
+2018-01-08,121.278130
+2018-01-09,119.995865
+2018-01-10,119.278198
+2018-01-11,118.522247
+2018-01-12,117.058182
+2018-01-16,116.321350
+2018-01-17,117.220840
+2018-01-18,115.957726
+2018-01-19,116.694550
+2018-01-22,118.149048
+2018-01-23,118.799751
+2018-01-24,117.928963
+2018-01-25,117.393089
+2018-01-26,117.670593
+2018-01-29,116.110840
+2018-01-30,114.273582
+2018-01-31,118.378708
+2019-01-02,107.565140
+2019-01-03,108.018463
+2019-01-04,109.890877
+2019-01-07,110.580711
+2019-01-08,113.852501
+2019-01-09,115.734772
+2019-01-10,117.488922
+2019-01-11,117.419945
+2019-01-14,116.414749
+2019-01-15,117.341103
+2019-01-16,118.090073
+2019-01-17,118.671494
+2019-01-18,119.755524
+2019-01-22,119.450027
+2019-01-23,119.026268
+2019-01-24,119.312057
+2019-01-25,121.687073
+2019-01-28,123.056885
+2019-01-29,124.554817
+2019-01-30,128.565720
+2019-01-31,129.955246
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/CCI.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,426 @@
+Date,Adj Close
+1999-01-04,17.231403
+1999-01-05,16.311033
+1999-01-06,16.975748
+1999-01-07,18.407436
+1999-01-08,18.330740
+1999-01-11,17.896120
+1999-01-12,17.180271
+1999-01-13,16.566692
+1999-01-14,17.129141
+1999-01-15,17.793858
+1999-01-19,18.100643
+1999-01-20,18.611959
+1999-01-21,17.589331
+1999-01-22,16.362165
+1999-01-25,17.691597
+1999-01-26,17.589331
+1999-01-27,17.640461
+1999-01-28,17.487066
+1999-01-29,17.691597
+2000-01-03,24.977869
+2000-01-04,24.952307
+2000-01-05,24.594383
+2000-01-06,23.725145
+2000-01-07,24.952307
+2000-01-10,26.128334
+2000-01-11,24.901169
+2000-01-12,24.543247
+2000-01-13,24.543247
+2000-01-14,23.622877
+2000-01-18,24.594383
+2000-01-19,24.543247
+2000-01-20,24.696644
+2000-01-21,25.361359
+2000-01-24,27.917942
+2000-01-25,27.611155
+2000-01-26,27.815680
+2000-01-27,26.895311
+2000-01-28,27.099838
+2000-01-31,25.872677
+2001-01-02,20.964022
+2001-01-03,22.958162
+2001-01-04,24.134197
+2001-01-05,21.321943
+2001-01-08,21.833265
+2001-01-09,22.600239
+2001-01-10,22.497980
+2001-01-11,24.236456
+2001-01-12,21.884399
+2001-01-16,21.270819
+2001-01-17,21.679871
+2001-01-18,21.679871
+2001-01-19,21.833265
+2001-01-22,21.577610
+2001-01-23,22.293453
+2001-01-24,22.088926
+2001-01-25,22.140059
+2001-01-26,23.571747
+2001-01-29,24.134197
+2001-01-30,24.083063
+2001-01-31,22.855906
+2002-01-02,8.999192
+2002-01-03,9.400064
+2002-01-04,9.121906
+2002-01-07,8.860113
+2002-01-08,8.213806
+2002-01-09,8.025641
+2002-01-10,7.362974
+2002-01-11,7.526596
+2002-01-14,7.281162
+2002-01-15,7.281162
+2002-01-16,6.790298
+2002-01-17,6.463055
+2002-01-18,5.710396
+2002-01-22,5.260436
+2002-01-23,6.078545
+2002-01-24,6.373064
+2002-01-25,6.373064
+2002-01-28,6.233985
+2002-01-29,5.890378
+2002-01-30,5.784025
+2002-01-31,5.947648
+2003-01-02,3.067906
+2003-01-03,3.108812
+2003-01-06,3.354243
+2003-01-07,3.362426
+2003-01-08,3.296977
+2003-01-09,3.550591
+2003-01-10,3.509685
+2003-01-13,3.444236
+2003-01-14,3.763298
+2003-01-15,3.861470
+2003-01-16,3.902376
+2003-01-17,3.542408
+2003-01-21,3.403331
+2003-01-22,3.370605
+2003-01-23,3.084268
+2003-01-24,2.863379
+2003-01-27,2.667033
+2003-01-28,2.838836
+2003-01-29,3.125174
+2003-01-30,2.847017
+2003-01-31,3.231527
+2004-01-02,8.999192
+2004-01-05,9.449151
+2004-01-06,9.653678
+2004-01-07,9.923655
+2004-01-08,10.349068
+2004-01-09,10.717220
+2004-01-12,10.676312
+2004-01-13,10.619045
+2004-01-14,10.308166
+2004-01-15,10.267260
+2004-01-16,10.349068
+2004-01-20,10.389974
+2004-01-21,10.185448
+2004-01-22,10.160904
+2004-01-23,10.308166
+2004-01-26,10.177267
+2004-01-27,10.242716
+2004-01-28,9.931836
+2004-01-29,9.776393
+2004-01-30,10.144542
+2005-01-03,13.425157
+2005-01-04,13.212448
+2005-01-05,13.539692
+2005-01-06,13.621501
+2005-01-07,13.948745
+2005-01-10,14.153275
+2005-01-11,14.120547
+2005-01-12,14.022377
+2005-01-13,13.719678
+2005-01-14,13.965105
+2005-01-18,14.022377
+2005-01-19,14.292351
+2005-01-20,14.079645
+2005-01-21,13.785126
+2005-01-24,13.515148
+2005-01-25,13.637864
+2005-01-26,13.441519
+2005-01-27,13.376072
+2005-01-28,13.400614
+2005-01-31,13.416973
+2006-01-03,22.007114
+2006-01-04,22.465250
+2006-01-05,22.735231
+2006-01-06,23.005207
+2006-01-09,23.733324
+2006-01-10,23.545158
+2006-01-11,23.880579
+2006-01-12,23.839676
+2006-01-13,23.823315
+2006-01-17,23.348810
+2006-01-18,24.150555
+2006-01-19,24.428711
+2006-01-20,24.289635
+2006-01-23,24.109650
+2006-01-24,24.952307
+2006-01-25,24.625061
+2006-01-26,24.641426
+2006-01-27,24.657784
+2006-01-30,24.919579
+2006-01-31,25.876764
+2007-01-03,25.819500
+2007-01-04,26.220367
+2007-01-05,26.253096
+2007-01-08,26.514891
+2007-01-09,26.793045
+2007-01-10,27.349356
+2007-01-11,27.733871
+2007-01-12,28.126564
+2007-01-16,27.954756
+2007-01-17,27.946575
+2007-01-18,28.192009
+2007-01-19,29.623695
+2007-01-22,29.410994
+2007-01-23,28.813774
+2007-01-24,28.830137
+2007-01-25,28.551977
+2007-01-26,28.969215
+2007-01-29,28.543798
+2007-01-30,28.723780
+2007-01-31,28.764694
+2008-01-02,32.822498
+2008-01-03,32.110748
+2008-01-04,31.603519
+2008-01-07,31.366272
+2008-01-08,31.112656
+2008-01-09,31.488995
+2008-01-10,31.333549
+2008-01-11,30.572706
+2008-01-14,30.310911
+2008-01-15,30.343643
+2008-01-16,29.574612
+2008-01-17,29.402811
+2008-01-18,27.832047
+2008-01-22,27.406626
+2008-01-23,27.136648
+2008-01-24,28.069300
+2008-01-25,27.840229
+2008-01-28,28.012030
+2008-01-29,29.296457
+2008-01-30,28.756506
+2008-01-31,29.550068
+2009-01-02,15.077736
+2009-01-05,16.026745
+2009-01-06,16.108555
+2009-01-07,16.223087
+2009-01-08,16.362165
+2009-01-09,16.419428
+2009-01-12,15.642233
+2009-01-13,15.691317
+2009-01-14,14.930475
+2009-01-15,14.807755
+2009-01-16,15.298624
+2009-01-20,13.924204
+2009-01-21,15.314984
+2009-01-22,16.362165
+2009-01-23,16.075827
+2009-01-26,16.124916
+2009-01-27,16.026745
+2009-01-28,16.918480
+2009-01-29,16.321260
+2009-01-30,15.969475
+2010-01-04,32.405262
+2010-01-05,32.716160
+2010-01-06,32.249832
+2010-01-07,31.718054
+2010-01-08,31.873507
+2010-01-11,31.881680
+2010-01-12,31.292643
+2010-01-13,31.636248
+2010-01-14,31.587162
+2010-01-15,31.652615
+2010-01-19,31.767147
+2010-01-20,31.873507
+2010-01-21,31.439901
+2010-01-22,30.556335
+2010-01-25,31.129011
+2010-01-26,30.629969
+2010-01-27,31.292643
+2010-01-28,30.409079
+2010-01-29,30.220919
+2011-01-03,35.522251
+2011-01-04,35.464993
+2011-01-05,35.096848
+2011-01-06,34.475094
+2011-01-07,34.851414
+2011-01-10,34.826878
+2011-01-11,34.655056
+2011-01-12,34.434181
+2011-01-13,34.295094
+2011-01-14,33.321548
+2011-01-18,34.393276
+2011-01-19,34.008759
+2011-01-20,34.507816
+2011-01-21,34.213291
+2011-01-24,34.761417
+2011-01-25,35.121384
+2011-01-26,35.702244
+2011-01-27,35.882225
+2011-01-28,35.219563
+2011-01-31,34.499622
+2012-01-03,36.749420
+2012-01-04,36.831234
+2012-01-05,36.798508
+2012-01-06,36.855774
+2012-01-09,37.330280
+2012-01-10,37.739334
+2012-01-11,37.829334
+2012-01-12,37.837505
+2012-01-13,37.632984
+2012-01-17,37.493904
+2012-01-18,37.502087
+2012-01-19,37.960228
+2012-01-20,37.812958
+2012-01-23,37.673885
+2012-01-24,37.583893
+2012-01-25,38.205658
+2012-01-26,37.902958
+2012-01-27,39.858231
+2012-01-30,39.604622
+2012-01-31,39.661900
+2013-01-02,61.439919
+2013-01-03,60.212769
+2013-01-04,60.163681
+2013-01-07,59.525558
+2013-01-08,59.451927
+2013-01-09,59.386490
+2013-01-10,59.869171
+2013-01-11,59.541927
+2013-01-14,59.672821
+2013-01-15,59.893711
+2013-01-16,60.548203
+2013-01-17,60.540020
+2013-01-18,60.777271
+2013-01-22,61.161785
+2013-01-23,61.464466
+2013-01-24,60.801807
+2013-01-25,60.090054
+2013-01-28,60.032776
+2013-01-29,59.361927
+2013-01-30,58.036598
+2013-01-31,57.693005
+2014-01-02,58.601097
+2014-01-03,58.282043
+2014-01-06,58.306561
+2014-01-07,59.533730
+2014-01-08,58.920151
+2014-01-09,58.715626
+2014-01-10,58.781082
+2014-01-13,58.576546
+2014-01-14,59.648266
+2014-01-15,60.769093
+2014-01-16,60.310944
+2014-01-17,60.720009
+2014-01-21,60.850887
+2014-01-22,60.351837
+2014-01-23,59.885525
+2014-01-24,58.388390
+2014-01-27,57.954788
+2014-01-28,58.085697
+2014-01-29,57.652100
+2014-01-30,58.429291
+2014-01-31,58.052963
+2015-01-02,66.682922
+2015-01-05,66.255196
+2015-01-06,66.129395
+2015-01-07,67.513199
+2015-01-08,68.578316
+2015-01-09,68.452522
+2015-01-12,68.368652
+2015-01-13,68.209305
+2015-01-14,68.477676
+2015-01-15,68.460915
+2015-01-16,69.299568
+2015-01-20,68.779602
+2015-01-21,68.234459
+2015-01-22,71.496902
+2015-01-23,72.822021
+2015-01-26,73.845192
+2015-01-27,73.635529
+2015-01-28,73.098763
+2015-01-29,72.763298
+2015-01-30,72.553635
+2016-01-04,74.571114
+2016-01-05,76.099411
+2016-01-06,75.461899
+2016-01-07,73.584290
+2016-01-08,72.553802
+2016-01-11,73.086525
+2016-01-12,73.409645
+2016-01-13,72.291809
+2016-01-14,73.322311
+2016-01-15,69.095551
+2016-01-19,69.427376
+2016-01-20,68.309563
+2016-01-21,69.104263
+2016-01-22,71.278786
+2016-01-25,70.903267
+2016-01-26,73.016640
+2016-01-27,72.649872
+2016-01-28,74.064606
+2016-01-29,75.278503
+2017-01-03,78.932533
+2017-01-04,79.405396
+2017-01-05,79.332649
+2017-01-06,77.750351
+2017-01-09,77.959511
+2017-01-10,76.713684
+2017-01-11,77.477531
+2017-01-12,77.459366
+2017-01-13,77.914040
+2017-01-17,79.441765
+2017-01-18,79.296272
+2017-01-19,78.023163
+2017-01-20,78.950699
+2017-01-23,79.168961
+2017-01-24,79.714569
+2017-01-25,79.278084
+2017-01-26,80.032845
+2017-01-27,78.977989
+2017-01-30,78.896149
+2017-01-31,79.869156
+2018-01-02,102.951378
+2018-01-03,102.516617
+2018-01-04,101.325775
+2018-01-05,102.100769
+2018-01-08,102.403214
+2018-01-09,101.769966
+2018-01-10,99.161461
+2018-01-11,97.998970
+2018-01-12,97.885551
+2018-01-16,99.539497
+2018-01-17,100.210533
+2018-01-18,100.286148
+2018-01-19,101.458084
+2018-01-22,102.355949
+2018-01-23,104.274536
+2018-01-24,103.575142
+2018-01-25,102.648933
+2018-01-26,104.558060
+2018-01-29,103.801971
+2018-01-30,103.990990
+2018-01-31,106.580612
+2019-01-02,104.122131
+2019-01-03,104.642998
+2019-01-04,106.205566
+2019-01-07,106.726418
+2019-01-08,105.684708
+2019-01-09,103.846962
+2019-01-10,105.006615
+2019-01-11,105.527458
+2019-01-14,104.584030
+2019-01-15,105.547127
+2019-01-16,105.478325
+2019-01-17,105.763329
+2019-01-18,105.753502
+2019-01-22,107.306236
+2019-01-23,108.367607
+2019-01-24,109.979317
+2019-01-25,111.738434
+2019-01-28,112.406700
+2019-01-29,113.065147
+2019-01-30,113.477898
+2019-01-31,115.040459
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/DLR.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,304 @@
+Date,Adj Close
+2005-01-03,7.319222
+2005-01-04,7.351535
+2005-01-05,7.109177
+2005-01-06,7.211508
+2005-01-07,7.141492
+2005-01-10,7.163035
+2005-01-11,7.141492
+2005-01-12,7.163035
+2005-01-13,7.200737
+2005-01-14,7.319222
+2005-01-18,7.378467
+2005-01-19,7.351535
+2005-01-20,7.303066
+2005-01-21,7.324607
+2005-01-24,7.281521
+2005-01-25,7.270749
+2005-01-26,7.383850
+2005-01-27,7.378467
+2005-01-28,7.432324
+2005-01-31,7.432324
+2006-01-03,12.970433
+2006-01-04,13.118671
+2006-01-05,13.272601
+2006-01-06,13.420834
+2006-01-09,13.540565
+2006-01-10,13.717308
+2006-01-11,13.580477
+2006-01-12,13.580477
+2006-01-13,13.648891
+2006-01-17,13.409431
+2006-01-18,13.329617
+2006-01-19,13.380929
+2006-01-20,13.540565
+2006-01-23,13.626083
+2006-01-24,13.814226
+2006-01-25,14.093587
+2006-01-26,14.361551
+2006-01-27,14.943078
+2006-01-30,14.595303
+2006-01-31,14.760639
+2007-01-03,20.474926
+2007-01-04,20.788834
+2007-01-05,20.421625
+2007-01-08,20.172869
+2007-01-09,20.161028
+2007-01-10,20.433472
+2007-01-11,20.386089
+2007-01-12,20.936911
+2007-01-16,21.173811
+2007-01-17,20.966518
+2007-01-18,21.002045
+2007-01-19,21.055361
+2007-01-22,20.877684
+2007-01-23,21.013899
+2007-01-24,21.055361
+2007-01-25,21.084974
+2007-01-26,21.067209
+2007-01-29,21.173811
+2007-01-30,21.233044
+2007-01-31,21.286341
+2008-01-02,23.504421
+2008-01-03,22.735186
+2008-01-04,21.477547
+2008-01-07,21.410391
+2008-01-08,20.659466
+2008-01-09,21.263868
+2008-01-10,21.324919
+2008-01-11,21.166185
+2008-01-14,21.715645
+2008-01-15,20.860929
+2008-01-16,21.269972
+2008-01-17,20.769360
+2008-01-18,20.122225
+2008-01-22,21.013557
+2008-01-23,22.454353
+2008-01-24,22.558134
+2008-01-25,22.484877
+2008-01-28,23.315159
+2008-01-29,22.979389
+2008-01-30,22.521515
+2008-01-31,21.831638
+2009-01-02,19.841127
+2009-01-05,19.221487
+2009-01-06,20.201530
+2009-01-07,19.986557
+2009-01-08,20.163597
+2009-01-09,19.784227
+2009-01-12,18.753595
+2009-01-13,19.581890
+2009-01-14,19.038124
+2009-01-15,18.911671
+2009-01-16,20.460768
+2009-01-20,18.203508
+2009-01-21,19.891706
+2009-01-22,19.183548
+2009-01-23,19.885384
+2009-01-26,20.460768
+2009-01-27,20.580902
+2009-01-28,22.193230
+2009-01-29,21.257446
+2009-01-30,20.169920
+2010-01-04,32.908115
+2010-01-05,33.124668
+2010-01-06,32.678440
+2010-01-07,32.967178
+2010-01-08,33.334648
+2010-01-11,33.170589
+2010-01-12,32.783432
+2010-01-13,32.940926
+2010-01-14,33.137779
+2010-01-15,32.809696
+2010-01-19,33.498695
+2010-01-20,33.104977
+2010-01-21,33.118107
+2010-01-22,32.219116
+2010-01-25,32.015686
+2010-01-26,31.825388
+2010-01-27,31.910704
+2010-01-28,31.484169
+2010-01-29,31.497301
+2011-01-03,35.416599
+2011-01-04,34.648602
+2011-01-05,34.811718
+2011-01-06,35.287476
+2011-01-07,35.348637
+2011-01-10,35.640892
+2011-01-11,35.559334
+2011-01-12,35.953541
+2011-01-13,36.497253
+2011-01-14,36.558418
+2011-01-18,36.619583
+2011-01-19,35.885551
+2011-01-20,35.076782
+2011-01-21,35.178741
+2011-01-24,35.593307
+2011-01-25,36.741932
+2011-01-26,36.164227
+2011-01-27,36.565216
+2011-01-28,36.538033
+2011-01-31,36.973007
+2012-01-03,47.203705
+2012-01-04,46.620342
+2012-01-05,47.018738
+2012-01-06,47.466946
+2012-01-09,47.424267
+2012-01-10,47.594997
+2012-01-11,47.779987
+2012-01-12,47.530972
+2012-01-13,47.331779
+2012-01-17,47.666142
+2012-01-18,47.893810
+2012-01-19,48.050312
+2012-01-20,48.434483
+2012-01-23,48.662159
+2012-01-24,48.128574
+2012-01-25,48.975182
+2012-01-26,49.508762
+2012-01-27,49.814674
+2012-01-30,49.515862
+2012-01-31,50.412289
+2013-01-02,50.983032
+2013-01-03,50.775414
+2013-01-04,50.953373
+2013-01-07,50.871811
+2013-01-08,50.790237
+2013-01-09,51.160984
+2013-01-10,51.324112
+2013-01-11,51.783802
+2013-01-14,52.295425
+2013-01-15,52.762539
+2013-01-16,52.480778
+2013-01-17,52.325077
+2013-01-18,53.007221
+2013-01-22,52.747723
+2013-01-23,52.332493
+2013-01-24,52.028500
+2013-01-25,53.637466
+2013-01-28,53.926632
+2013-01-29,52.458534
+2013-01-30,51.976593
+2013-01-31,50.352776
+2014-01-02,38.788090
+2014-01-03,39.070339
+2014-01-06,38.991936
+2014-01-07,39.093872
+2014-01-08,38.795921
+2014-01-09,38.968418
+2014-01-10,39.203644
+2014-01-13,39.368298
+2014-01-14,40.144527
+2014-01-15,41.171665
+2014-01-16,41.422569
+2014-01-17,40.591454
+2014-01-21,41.579376
+2014-01-22,40.975647
+2014-01-23,41.124626
+2014-01-24,41.046200
+2014-01-27,40.387596
+2014-01-28,40.865875
+2014-01-29,39.438869
+2014-01-30,39.164440
+2014-01-31,39.979874
+2015-01-02,55.001469
+2015-01-05,56.061565
+2015-01-06,55.887642
+2015-01-07,56.334877
+2015-01-08,57.071987
+2015-01-09,56.467388
+2015-01-12,56.997433
+2015-01-13,57.800800
+2015-01-14,58.819511
+2015-01-15,59.241890
+2015-01-16,59.713974
+2015-01-20,60.277145
+2015-01-21,60.119804
+2015-01-22,60.881752
+2015-01-23,60.997707
+2015-01-26,61.328983
+2015-01-27,61.304142
+2015-01-28,61.610577
+2015-01-29,61.370392
+2015-01-30,60.409672
+2016-01-04,67.249130
+2016-01-05,67.328552
+2016-01-06,67.955154
+2016-01-07,67.760994
+2016-01-08,67.990440
+2016-01-11,69.367210
+2016-01-12,68.908302
+2016-01-13,68.511147
+2016-01-14,69.155411
+2016-01-15,67.355034
+2016-01-19,66.278336
+2016-01-20,64.107300
+2016-01-21,63.983746
+2016-01-22,65.978287
+2016-01-25,66.825508
+2016-01-26,69.305435
+2016-01-27,67.990440
+2016-01-28,70.135010
+2016-01-29,70.673347
+2017-01-03,91.028412
+2017-01-04,93.914276
+2017-01-05,96.415367
+2017-01-06,95.315987
+2017-01-09,94.179970
+2017-01-10,93.776863
+2017-01-11,93.630264
+2017-01-12,93.905113
+2017-01-13,93.712723
+2017-01-17,94.674675
+2017-01-18,95.856506
+2017-01-19,95.966438
+2017-01-20,96.928398
+2017-01-23,97.157440
+2017-01-24,98.348419
+2017-01-25,98.385086
+2017-01-26,98.549980
+2017-01-27,97.505577
+2017-01-30,97.496407
+2017-01-31,98.604965
+2018-01-02,106.666588
+2018-01-03,107.641800
+2018-01-04,106.306808
+2018-01-05,106.988503
+2018-01-08,108.077316
+2018-01-09,106.609772
+2018-01-10,103.712563
+2018-01-11,102.197701
+2018-01-12,100.152596
+2018-01-16,101.762161
+2018-01-17,101.317169
+2018-01-18,101.269821
+2018-01-19,101.591736
+2018-01-22,103.523201
+2018-01-23,105.199059
+2018-01-24,104.952881
+2018-01-25,105.483093
+2018-01-26,105.710327
+2018-01-29,101.658020
+2018-01-30,100.891106
+2018-01-31,105.994354
+2019-01-02,101.304260
+2019-01-03,100.793755
+2019-01-04,102.894653
+2019-01-07,104.259254
+2019-01-08,105.378418
+2019-01-09,99.969116
+2019-01-10,103.159721
+2019-01-11,104.691208
+2019-01-14,104.563591
+2019-01-15,105.329330
+2019-01-16,104.985733
+2019-01-17,104.671585
+2019-01-18,105.290070
+2019-01-22,103.179352
+2019-01-23,102.128906
+2019-01-24,102.187805
+2019-01-25,102.266350
+2019-01-28,103.768379
+2019-01-29,104.701027
+2019-01-30,105.466774
+2019-01-31,106.360138
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/EQIX.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,387 @@
+Date,Adj Close
+2001-01-02,95.544441
+2001-01-03,97.220673
+2001-01-04,97.220673
+2001-01-05,107.277977
+2001-01-08,105.601753
+2001-01-09,99.734985
+2001-01-10,102.249313
+2001-01-11,103.925537
+2001-01-12,124.040138
+2001-01-16,134.097488
+2001-01-17,150.859680
+2001-01-18,155.888275
+2001-01-19,157.564529
+2001-01-22,160.916916
+2001-01-23,170.974258
+2001-01-24,187.736450
+2001-01-25,174.326706
+2001-01-26,160.916916
+2001-01-29,162.593185
+2001-01-30,159.240738
+2001-01-31,159.240738
+2002-01-02,72.144463
+2002-01-03,79.653893
+2002-01-04,83.945015
+2002-01-07,84.481415
+2002-01-08,80.458458
+2002-01-09,90.649895
+2002-01-10,86.626961
+2002-01-11,85.285980
+2002-01-14,76.971939
+2002-01-15,75.899170
+2002-01-16,72.949013
+2002-01-17,67.316917
+2002-01-18,62.221222
+2002-01-22,56.320927
+2002-01-23,55.516346
+2002-01-24,62.221222
+2002-01-25,64.903168
+2002-01-28,61.953014
+2002-01-29,60.612053
+2002-01-30,61.953014
+2002-01-31,61.416637
+2003-01-02,4.391693
+2003-01-03,4.257595
+2003-01-06,4.726935
+2003-01-07,6.453441
+2003-01-08,5.858384
+2003-01-09,5.925432
+2003-01-10,5.724286
+2003-01-13,5.950574
+2003-01-14,5.422566
+2003-01-15,5.137609
+2003-01-16,5.087323
+2003-01-17,4.500646
+2003-01-21,4.106734
+2003-01-22,3.763111
+2003-01-23,3.461391
+2003-01-24,3.251863
+2003-01-27,2.648425
+2003-01-28,3.084242
+2003-01-29,2.757379
+2003-01-30,2.564614
+2003-01-31,2.933382
+2004-01-02,24.162685
+2004-01-05,24.305168
+2004-01-06,24.229734
+2004-01-07,24.640409
+2004-01-08,25.931097
+2004-01-09,30.901077
+2004-01-12,29.451157
+2004-01-13,28.495716
+2004-01-14,30.004309
+2004-01-15,29.861834
+2004-01-16,30.272505
+2004-01-20,30.540701
+2004-01-21,29.811539
+2004-01-22,28.495716
+2004-01-23,27.950939
+2004-01-26,29.250019
+2004-01-27,28.629816
+2004-01-28,28.797428
+2004-01-29,28.495716
+2004-01-30,27.582172
+2005-01-03,36.223080
+2005-01-04,35.527454
+2005-01-05,34.789906
+2005-01-06,35.083248
+2005-01-07,34.706100
+2005-01-10,35.384964
+2005-01-11,35.007820
+2005-01-12,35.192204
+2005-01-13,34.395996
+2005-01-14,34.756386
+2005-01-18,35.334682
+2005-01-19,35.208961
+2005-01-20,35.108387
+2005-01-21,35.058102
+2005-01-24,34.697716
+2005-01-25,34.370857
+2005-01-26,34.588772
+2005-01-27,34.815056
+2005-01-28,34.362476
+2005-01-31,35.150299
+2006-01-03,34.722866
+2006-01-04,35.577736
+2006-01-05,36.248222
+2006-01-06,36.449364
+2006-01-09,36.968987
+2006-01-10,36.809750
+2006-01-11,37.647861
+2006-01-12,37.991497
+2006-01-13,38.544636
+2006-01-17,38.863117
+2006-01-18,39.030739
+2006-01-19,39.676090
+2006-01-20,38.670364
+2006-01-23,38.720646
+2006-01-24,39.030739
+2006-01-25,39.265400
+2006-01-26,39.064266
+2006-01-27,39.726368
+2006-01-30,39.491699
+2006-01-31,39.332462
+2007-01-03,63.176647
+2007-01-04,64.702003
+2007-01-05,63.838760
+2007-01-08,63.687920
+2007-01-09,65.523376
+2007-01-10,66.923019
+2007-01-11,69.035042
+2007-01-12,68.666290
+2007-01-16,68.783615
+2007-01-17,68.389717
+2007-01-18,66.663208
+2007-01-19,69.571434
+2007-01-22,68.523804
+2007-01-23,69.554672
+2007-01-24,69.579811
+2007-01-25,69.018295
+2007-01-26,68.465149
+2007-01-29,68.683037
+2007-01-30,70.040771
+2007-01-31,70.459824
+2008-01-02,82.654320
+2008-01-03,83.492447
+2008-01-04,79.343796
+2008-01-07,74.424088
+2008-01-08,73.577606
+2008-01-09,72.136055
+2008-01-10,73.694939
+2008-01-11,72.731102
+2008-01-14,72.429398
+2008-01-15,70.367653
+2008-01-16,68.012558
+2008-01-17,64.115349
+2008-01-18,62.296646
+2008-01-22,60.469578
+2008-01-23,59.740421
+2008-01-24,65.028877
+2008-01-25,63.344299
+2008-01-28,64.165649
+2008-01-29,61.735123
+2008-01-30,61.098156
+2008-01-31,63.302380
+2009-01-02,48.241562
+2009-01-05,49.674732
+2009-01-06,52.708675
+2009-01-07,48.685760
+2009-01-08,49.691494
+2009-01-09,48.601952
+2009-01-12,46.615627
+2009-01-13,47.235832
+2009-01-14,44.193493
+2009-01-15,44.092926
+2009-01-16,45.014847
+2009-01-20,40.891354
+2009-01-21,44.620926
+2009-01-22,42.483749
+2009-01-23,43.506241
+2009-01-26,44.587402
+2009-01-27,44.721504
+2009-01-28,48.124222
+2009-01-29,47.068214
+2009-01-30,44.713123
+2010-01-04,91.823250
+2010-01-05,90.968361
+2010-01-06,91.798088
+2010-01-07,89.920731
+2010-01-08,89.484924
+2010-01-11,90.222458
+2010-01-12,86.568291
+2010-01-13,86.392303
+2010-01-14,87.263931
+2010-01-15,85.579315
+2010-01-19,87.104698
+2010-01-20,86.702400
+2010-01-21,86.635345
+2010-01-22,82.989563
+2010-01-25,83.886337
+2010-01-26,83.358330
+2010-01-27,83.182335
+2010-01-28,81.933548
+2010-01-29,80.651230
+2011-01-03,69.948593
+2011-01-04,69.018295
+2011-01-05,69.428963
+2011-01-06,68.724953
+2011-01-07,68.867424
+2011-01-10,71.976807
+2011-01-11,73.007698
+2011-01-12,73.326164
+2011-01-13,72.957413
+2011-01-14,73.510567
+2011-01-18,74.382172
+2011-01-19,72.496445
+2011-01-20,71.348244
+2011-01-21,71.339867
+2011-01-24,74.424088
+2011-01-25,73.703308
+2011-01-26,73.376457
+2011-01-27,73.485435
+2011-01-28,74.440849
+2011-01-31,74.105606
+2012-01-03,84.850166
+2012-01-04,84.565231
+2012-01-05,87.791939
+2012-01-06,87.934402
+2012-01-09,90.306259
+2012-01-10,92.544006
+2012-01-11,93.432411
+2012-01-12,94.354324
+2012-01-13,94.337563
+2012-01-17,95.108643
+2012-01-18,94.664421
+2012-01-19,95.209190
+2012-01-20,97.321236
+2012-01-23,96.390945
+2012-01-24,97.203903
+2012-01-25,98.796310
+2012-01-26,100.405464
+2012-01-27,101.436348
+2012-01-30,100.070236
+2012-01-31,100.539574
+2013-01-02,180.201843
+2013-01-03,177.771362
+2013-01-04,180.411346
+2013-01-07,183.361526
+2013-01-08,180.369492
+2013-01-09,182.573700
+2013-01-10,182.523438
+2013-01-11,182.473129
+2013-01-14,181.065079
+2013-01-15,181.693665
+2013-01-16,181.425491
+2013-01-17,183.126862
+2013-01-18,184.350510
+2013-01-22,186.320053
+2013-01-23,185.750122
+2013-01-24,186.051880
+2013-01-25,188.784103
+2013-01-28,186.638535
+2013-01-29,181.408737
+2013-01-30,179.673843
+2013-01-31,180.553833
+2014-01-02,146.468002
+2014-01-03,145.344864
+2014-01-06,145.981827
+2014-01-07,150.515991
+2014-01-08,151.102707
+2014-01-09,148.756027
+2014-01-10,150.029877
+2014-01-13,146.602051
+2014-01-14,149.803619
+2014-01-15,150.465744
+2014-01-16,150.423828
+2014-01-17,147.398239
+2014-01-21,150.264572
+2014-01-22,149.996399
+2014-01-23,153.072250
+2014-01-24,154.111511
+2014-01-27,151.756439
+2014-01-28,153.038727
+2014-01-29,153.072250
+2014-01-30,154.497025
+2014-01-31,155.217819
+2015-01-02,197.412354
+2015-01-05,195.382950
+2015-01-06,191.123734
+2015-01-07,191.750793
+2015-01-08,194.041550
+2015-01-09,188.911346
+2015-01-12,188.902679
+2015-01-13,189.224930
+2015-01-14,190.644669
+2015-01-15,190.061081
+2015-01-16,191.829269
+2015-01-20,193.710587
+2015-01-21,194.599014
+2015-01-22,199.589844
+2015-01-23,200.852814
+2015-01-26,199.816345
+2015-01-27,193.275040
+2015-01-28,189.094269
+2015-01-29,193.292511
+2015-01-30,188.885239
+2016-01-04,275.149170
+2016-01-05,281.960968
+2016-01-06,287.276642
+2016-01-07,281.849487
+2016-01-08,287.889954
+2016-01-11,290.761536
+2016-01-12,292.657349
+2016-01-13,283.977570
+2016-01-14,289.005096
+2016-01-15,281.756500
+2016-01-19,274.247742
+2016-01-20,273.550720
+2016-01-21,269.294586
+2016-01-22,276.050598
+2016-01-25,278.727081
+2016-01-26,282.174774
+2016-01-27,278.392487
+2016-01-28,278.996490
+2016-01-29,288.614807
+2017-01-03,340.414764
+2017-01-04,347.237823
+2017-01-05,350.881866
+2017-01-06,351.584106
+2017-01-09,354.146332
+2017-01-10,351.147552
+2017-01-11,352.618500
+2017-01-12,355.057312
+2017-01-13,355.816528
+2017-01-17,356.936310
+2017-01-18,357.505646
+2017-01-19,361.700134
+2017-01-20,363.711945
+2017-01-23,365.685822
+2017-01-24,369.775848
+2017-01-25,364.812744
+2017-01-26,364.604004
+2017-01-27,363.417816
+2017-01-30,366.653778
+2017-01-31,365.334686
+2018-01-02,432.103729
+2018-01-03,434.095428
+2018-01-04,433.099609
+2018-01-05,434.588470
+2018-01-08,443.009796
+2018-01-09,440.863373
+2018-01-10,428.313660
+2018-01-11,420.955963
+2018-01-12,421.497375
+2018-01-16,433.244629
+2018-01-17,427.250122
+2018-01-18,422.947693
+2018-01-19,423.373138
+2018-01-22,421.594086
+2018-01-23,427.346802
+2018-01-24,426.670013
+2018-01-25,424.610626
+2018-01-26,426.950409
+2018-01-29,420.733582
+2018-01-30,424.987671
+2018-01-31,440.099518
+2019-01-02,346.209869
+2019-01-03,342.193848
+2019-01-04,349.958862
+2019-01-07,350.661133
+2019-01-08,357.941437
+2019-01-09,353.450623
+2019-01-10,366.665924
+2019-01-11,367.407806
+2019-01-14,372.502014
+2019-01-15,378.832764
+2019-01-16,376.982971
+2019-01-17,377.695190
+2019-01-18,370.612732
+2019-01-22,366.992371
+2019-01-23,361.304657
+2019-01-24,367.259430
+2019-01-25,365.439362
+2019-01-28,373.026276
+2019-01-29,375.182709
+2019-01-30,378.862427
+2019-01-31,389.733429
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/EQR.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,532 @@
+Date,Adj Close
+1994-01-03,3.714412
+1994-01-04,3.760085
+1994-01-05,3.653520
+1994-01-06,3.638298
+1994-01-07,3.516515
+1994-01-10,3.531737
+1994-01-11,3.562185
+1994-01-12,3.623072
+1994-01-13,3.653520
+1994-01-14,3.623072
+1994-01-17,3.531737
+1994-01-18,3.501290
+1994-01-19,3.531737
+1994-01-20,3.577404
+1994-01-21,3.546957
+1994-01-24,3.546957
+1994-01-25,3.501290
+1994-01-26,3.501290
+1994-01-27,3.546957
+1994-01-28,3.501290
+1994-01-31,3.546957
+1995-01-03,3.830343
+1995-01-04,3.830343
+1995-01-05,3.715270
+1995-01-06,3.764588
+1995-01-09,3.715270
+1995-01-10,3.748147
+1995-01-11,3.715270
+1995-01-12,3.682393
+1995-01-13,3.682393
+1995-01-16,3.633075
+1995-01-17,3.698831
+1995-01-18,3.682393
+1995-01-19,3.649513
+1995-01-20,3.616636
+1995-01-23,3.517999
+1995-01-24,3.567317
+1995-01-25,3.550879
+1995-01-26,3.534439
+1995-01-27,3.550879
+1995-01-30,3.517999
+1995-01-31,3.501560
+1996-01-02,4.336319
+1996-01-03,4.265524
+1996-01-04,4.177026
+1996-01-05,4.141628
+1996-01-08,4.106229
+1996-01-09,4.123929
+1996-01-10,4.106229
+1996-01-11,4.212426
+1996-01-12,4.247824
+1996-01-15,4.300921
+1996-01-16,4.177026
+1996-01-17,4.141628
+1996-01-18,4.212426
+1996-01-19,4.283224
+1996-01-22,4.265524
+1996-01-23,4.247824
+1996-01-24,4.212426
+1996-01-25,4.247824
+1996-01-26,4.265524
+1996-01-29,4.265524
+1996-01-30,4.318621
+1996-01-31,4.354020
+1997-01-02,6.154295
+1997-01-03,6.211105
+1997-01-06,6.343659
+1997-01-07,6.381533
+1997-01-08,6.438340
+1997-01-09,6.476213
+1997-01-10,6.457275
+1997-01-13,6.495150
+1997-01-14,6.495150
+1997-01-15,6.551956
+1997-01-16,6.570893
+1997-01-17,6.419404
+1997-01-20,6.343659
+1997-01-21,6.362597
+1997-01-22,6.343659
+1997-01-23,6.324721
+1997-01-24,6.248977
+1997-01-27,6.267913
+1997-01-28,6.286848
+1997-01-29,6.305787
+1997-01-30,6.343659
+1997-01-31,6.514086
+1998-01-02,8.043239
+1998-01-05,8.063099
+1998-01-06,8.053168
+1998-01-07,8.053168
+1998-01-08,8.092887
+1998-01-09,8.102816
+1998-01-12,8.023378
+1998-01-13,8.013448
+1998-01-14,8.053168
+1998-01-15,8.182258
+1998-01-16,8.281558
+1998-01-20,8.122673
+1998-01-21,8.013448
+1998-01-22,7.963798
+1998-01-23,7.953868
+1998-01-26,7.973727
+1998-01-27,7.983658
+1998-01-28,8.142534
+1998-01-29,8.112745
+1998-01-30,8.122673
+1999-01-04,6.934478
+1999-01-05,6.945065
+1999-01-06,7.050935
+1999-01-07,7.019173
+1999-01-08,6.976824
+1999-01-11,7.008586
+1999-01-12,6.966239
+1999-01-13,6.945065
+1999-01-14,6.881541
+1999-01-15,6.807434
+1999-01-19,6.955653
+1999-01-20,7.082698
+1999-01-21,7.072108
+1999-01-22,6.870955
+1999-01-25,6.934478
+1999-01-26,6.913306
+1999-01-27,6.945065
+1999-01-28,6.945065
+1999-01-29,6.913306
+2000-01-03,7.663356
+2000-01-04,7.606587
+2000-01-05,7.765531
+2000-01-06,7.845001
+2000-01-07,7.992596
+2000-01-10,8.049358
+2000-01-11,8.003947
+2000-01-12,7.969889
+2000-01-13,7.879063
+2000-01-14,7.742823
+2000-01-18,7.674706
+2000-01-19,7.708765
+2000-01-20,7.663356
+2000-01-21,7.742823
+2000-01-24,7.652002
+2000-01-25,7.640647
+2000-01-26,7.652002
+2000-01-27,7.674706
+2000-01-28,7.606587
+2000-01-31,7.538469
+2001-01-02,10.517724
+2001-01-03,10.639174
+2001-01-04,10.566305
+2001-01-05,10.371978
+2001-01-08,10.286963
+2001-01-09,10.262677
+2001-01-10,10.262677
+2001-01-11,10.165517
+2001-01-12,10.116935
+2001-01-16,10.044059
+2001-01-17,10.116935
+2001-01-18,10.092637
+2001-01-19,10.068352
+2001-01-22,9.874030
+2001-01-23,9.776873
+2001-01-24,9.971189
+2001-01-25,10.104794
+2001-01-26,10.044059
+2001-01-29,10.063978
+2001-01-30,10.153369
+2001-01-31,10.178633
+2002-01-02,11.866578
+2002-01-03,11.936745
+2002-01-04,11.784028
+2002-01-07,11.792284
+2002-01-08,11.763389
+2002-01-09,11.676711
+2002-01-10,11.614801
+2002-01-11,11.548757
+2002-01-14,11.544632
+2002-01-15,11.449701
+2002-01-16,11.371274
+2002-01-17,11.292853
+2002-01-18,11.226818
+2002-01-22,11.358895
+2002-01-23,11.371274
+2002-01-24,11.330002
+2002-01-25,11.350640
+2002-01-28,11.325875
+2002-01-29,11.202048
+2002-01-30,11.173159
+2002-01-31,11.053458
+2003-01-02,11.028492
+2003-01-03,11.208928
+2003-01-06,11.402561
+2003-01-07,11.222125
+2003-01-08,11.182518
+2003-01-09,11.283738
+2003-01-10,11.239734
+2003-01-13,11.103302
+2003-01-14,11.046094
+2003-01-15,10.958079
+2003-01-16,10.799645
+2003-01-17,10.597209
+2003-01-21,10.557600
+2003-01-22,10.539997
+2003-01-23,10.672026
+2003-01-24,10.447582
+2003-01-27,10.456380
+2003-01-28,10.412371
+2003-01-29,10.570806
+2003-01-30,10.509190
+2003-01-31,10.755640
+2004-01-02,13.841592
+2004-01-05,13.836905
+2004-01-06,13.888466
+2004-01-07,13.780658
+2004-01-08,13.822847
+2004-01-09,13.780658
+2004-01-12,13.710349
+2004-01-13,13.560359
+2004-01-14,13.625974
+2004-01-15,13.663473
+2004-01-16,13.480671
+2004-01-20,13.354111
+2004-01-21,13.335363
+2004-01-22,13.330676
+2004-01-23,13.583794
+2004-01-26,13.625974
+2004-01-27,13.710349
+2004-01-28,13.747848
+2004-01-29,13.850966
+2004-01-30,13.640040
+2005-01-03,17.563162
+2005-01-04,17.454166
+2005-01-05,16.894320
+2005-01-06,16.894320
+2005-01-07,16.820011
+2005-01-10,16.720924
+2005-01-11,16.527710
+2005-01-12,16.512846
+2005-01-13,16.661474
+2005-01-14,16.765520
+2005-01-18,16.943874
+2005-01-19,16.953783
+2005-01-20,16.795240
+2005-01-21,16.701107
+2005-01-24,16.497976
+2005-01-25,16.156132
+2005-01-26,16.091724
+2005-01-27,15.839050
+2005-01-28,15.769687
+2005-01-31,15.626017
+2006-01-03,20.767847
+2006-01-04,20.840549
+2006-01-05,20.882093
+2006-01-06,21.235243
+2006-01-09,21.442966
+2006-01-10,21.609159
+2006-01-11,21.494905
+2006-01-12,21.292368
+2006-01-13,21.069050
+2006-01-17,21.027506
+2006-01-18,21.105400
+2006-01-19,21.422203
+2006-01-20,21.183308
+2006-01-23,21.287174
+2006-01-24,21.474125
+2006-01-25,21.624733
+2006-01-26,21.718212
+2006-01-27,22.118090
+2006-01-30,22.045391
+2006-01-31,22.024611
+2007-01-03,27.402599
+2007-01-04,27.456530
+2007-01-05,26.917320
+2007-01-08,26.895744
+2007-01-09,27.283978
+2007-01-10,27.715349
+2007-01-11,28.157494
+2007-01-12,28.394754
+2007-01-16,28.907005
+2007-01-17,28.793770
+2007-01-18,28.820730
+2007-01-19,29.047195
+2007-01-22,28.664354
+2007-01-23,28.712885
+2007-01-24,29.365337
+2007-01-25,29.505526
+2007-01-26,29.699640
+2007-01-29,29.683456
+2007-01-30,29.985416
+2007-01-31,30.346685
+2008-01-02,20.529726
+2008-01-03,19.661879
+2008-01-04,18.810938
+2008-01-07,19.092710
+2008-01-08,18.658781
+2008-01-09,18.901104
+2008-01-10,19.239225
+2008-01-11,18.957453
+2008-01-14,18.985630
+2008-01-15,18.472811
+2008-01-16,18.822216
+2008-01-17,18.624971
+2008-01-18,18.438999
+2008-01-22,19.109610
+2008-01-23,21.143986
+2008-01-24,21.104536
+2008-01-25,21.194708
+2008-01-28,21.267967
+2008-01-29,21.279234
+2008-01-30,20.749512
+2008-01-31,21.059456
+2009-01-02,16.733105
+2009-01-05,16.175928
+2009-01-06,16.561209
+2009-01-07,16.134434
+2009-01-08,15.956611
+2009-01-09,15.304592
+2009-01-12,14.433265
+2009-01-13,15.227537
+2009-01-14,14.800761
+2009-01-15,15.541693
+2009-01-16,16.164074
+2009-01-20,14.332494
+2009-01-21,15.523911
+2009-01-22,14.451042
+2009-01-23,14.895599
+2009-01-26,14.646648
+2009-01-27,14.830398
+2009-01-28,16.217422
+2009-01-29,14.806692
+2009-01-30,14.184316
+2010-01-04,21.152033
+2010-01-05,21.069698
+2010-01-06,21.190023
+2010-01-07,21.392681
+2010-01-08,21.120358
+2010-01-11,21.057035
+2010-01-12,20.753052
+2010-01-13,21.411678
+2010-01-14,21.373678
+2010-01-15,21.133032
+2010-01-19,21.797985
+2010-01-20,21.386347
+2010-01-21,20.854378
+2010-01-22,20.221081
+2010-01-25,20.214752
+2010-01-26,20.176750
+2010-01-27,20.544062
+2010-01-28,20.442736
+2010-01-29,20.297081
+2011-01-03,34.351860
+2011-01-04,33.488483
+2011-01-05,33.468868
+2011-01-06,33.063339
+2011-01-07,32.952148
+2011-01-10,32.873646
+2011-01-11,32.664349
+2011-01-12,32.742844
+2011-01-13,32.854031
+2011-01-14,33.298798
+2011-01-18,33.756645
+2011-01-19,33.292259
+2011-01-20,33.475407
+2011-01-21,33.671635
+2011-01-24,33.841686
+2011-01-25,34.404190
+2011-01-26,34.633114
+2011-01-27,35.195614
+2011-01-28,34.593868
+2011-01-31,35.444160
+2012-01-03,38.080597
+2012-01-04,37.777836
+2012-01-05,37.912403
+2012-01-06,37.468349
+2012-01-09,37.004112
+2012-01-10,37.131947
+2012-01-11,37.037762
+2012-01-12,36.378414
+2012-01-13,37.004112
+2012-01-17,37.394341
+2012-01-18,37.602913
+2012-01-19,37.347248
+2012-01-20,37.522175
+2012-01-23,37.986404
+2012-01-24,38.080597
+2012-01-25,39.109989
+2012-01-26,39.863525
+2012-01-27,40.119186
+2012-01-30,39.897160
+2012-01-31,40.065372
+2013-01-02,39.542896
+2013-01-03,39.709351
+2013-01-04,39.695480
+2013-01-07,39.993748
+2013-01-08,40.139404
+2013-01-09,40.229580
+2013-01-10,40.486210
+2013-01-11,40.333622
+2013-01-14,40.520893
+2013-01-15,40.742847
+2013-01-16,40.631866
+2013-01-17,40.555580
+2013-01-18,40.513958
+2013-01-22,40.583324
+2013-01-23,40.500092
+2013-01-24,40.208778
+2013-01-25,40.292000
+2013-01-28,40.333622
+2013-01-29,40.056183
+2013-01-30,39.584507
+2013-01-31,38.419247
+2014-01-02,37.319805
+2014-01-03,37.635651
+2014-01-06,37.929962
+2014-01-07,37.994560
+2014-01-08,38.339127
+2014-01-09,38.360657
+2014-01-10,38.453968
+2014-01-13,38.202744
+2014-01-14,38.396545
+2014-01-15,38.604717
+2014-01-16,38.683678
+2014-01-17,38.647789
+2014-01-21,39.064125
+2014-01-22,38.748283
+2014-01-23,38.597546
+2014-01-24,38.547287
+2014-01-27,38.303234
+2014-01-28,38.662155
+2014-01-29,38.726757
+2014-01-30,39.580963
+2014-01-31,39.753242
+2015-01-02,54.391678
+2015-01-05,54.873302
+2015-01-06,55.184490
+2015-01-07,55.999512
+2015-01-08,56.629303
+2015-01-09,57.051628
+2015-01-12,57.711052
+2015-01-13,57.118298
+2015-01-14,57.851845
+2015-01-15,58.185253
+2015-01-16,58.822449
+2015-01-20,57.777752
+2015-01-21,57.592506
+2015-01-22,58.763176
+2015-01-23,59.126255
+2015-01-26,59.348515
+2015-01-27,59.452240
+2015-01-28,59.000271
+2015-01-29,58.785400
+2015-01-30,57.503593
+2016-01-04,60.955978
+2016-01-05,62.176628
+2016-01-06,61.589191
+2016-01-07,61.398453
+2016-01-08,60.132038
+2016-01-11,60.864418
+2016-01-12,60.986496
+2016-01-13,60.399052
+2016-01-14,59.941307
+2016-01-15,59.948933
+2016-01-19,60.406693
+2016-01-20,58.285816
+2016-01-21,58.316330
+2016-01-22,59.292843
+2016-01-25,59.659039
+2016-01-26,60.833908
+2016-01-27,59.712437
+2016-01-28,57.820438
+2016-01-29,58.812206
+2017-01-03,58.741161
+2017-01-04,59.341217
+2017-01-05,60.144390
+2017-01-06,60.356709
+2017-01-09,59.516628
+2017-01-10,58.971958
+2017-01-11,58.445747
+2017-01-12,59.184284
+2017-01-13,58.519600
+2017-01-17,58.602692
+2017-01-18,58.713463
+2017-01-19,58.159569
+2017-01-20,58.491909
+2017-01-23,58.178028
+2017-01-24,57.504120
+2017-01-25,56.959454
+2017-01-26,56.793278
+2017-01-27,56.331692
+2017-01-30,56.036278
+2017-01-31,56.100903
+2018-01-02,60.470940
+2018-01-03,60.785145
+2018-01-04,59.737785
+2018-01-05,59.690170
+2018-01-08,60.090080
+2018-01-09,59.366444
+2018-01-10,58.519035
+2018-01-11,58.042961
+2018-01-12,57.528797
+2018-01-16,57.766834
+2018-01-17,57.938221
+2018-01-18,57.557369
+2018-01-19,57.576412
+2018-01-22,58.252430
+2018-01-23,58.833241
+2018-01-24,58.499992
+2018-01-25,58.280998
+2018-01-26,58.595207
+2018-01-29,58.280998
+2018-01-30,57.671623
+2018-01-31,58.661854
+2019-01-02,62.800674
+2019-01-03,63.194660
+2019-01-04,63.588642
+2019-01-07,64.120514
+2019-01-08,65.322166
+2019-01-09,65.322166
+2019-01-10,66.395767
+2019-01-11,66.533653
+2019-01-14,66.612450
+2019-01-15,67.429955
+2019-01-16,68.040634
+2019-01-17,68.858147
+2019-01-18,69.064987
+2019-01-22,69.340775
+2019-01-23,69.281670
+2019-01-24,69.291527
+2019-01-25,69.606705
+2019-01-28,70.640915
+2019-01-29,71.281136
+2019-01-30,70.916695
+2019-01-31,71.468269
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/ESS.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,511 @@
+Date,Adj Close
+1995-01-03,5.255361
+1995-01-04,5.337475
+1995-01-05,5.378536
+1995-01-06,5.460651
+1995-01-09,5.419592
+1995-01-10,5.419592
+1995-01-11,5.378536
+1995-01-12,5.378536
+1995-01-13,5.419592
+1995-01-16,5.378536
+1995-01-17,5.419592
+1995-01-18,5.419592
+1995-01-19,5.296420
+1995-01-20,5.337475
+1995-01-23,5.255361
+1995-01-24,5.296420
+1995-01-25,5.378536
+1995-01-26,5.337475
+1995-01-27,5.419592
+1995-01-30,5.460651
+1995-01-31,5.419592
+1996-01-02,6.858636
+1996-01-03,6.994004
+1996-01-04,6.948883
+1996-01-05,6.903757
+1996-01-08,6.903757
+1996-01-09,6.813514
+1996-01-10,6.768389
+1996-01-11,6.813514
+1996-01-12,6.903757
+1996-01-15,6.903757
+1996-01-16,6.903757
+1996-01-17,6.858636
+1996-01-18,7.084248
+1996-01-19,7.129371
+1996-01-22,7.039124
+1996-01-23,6.994004
+1996-01-24,7.084248
+1996-01-25,7.039124
+1996-01-26,7.129371
+1996-01-29,7.084248
+1996-01-30,7.174493
+1996-01-31,7.219615
+1997-01-02,11.207858
+1997-01-03,11.304898
+1997-01-06,11.207858
+1997-01-07,11.256381
+1997-01-08,11.159345
+1997-01-09,11.110821
+1997-01-10,11.159345
+1997-01-13,11.159345
+1997-01-14,11.304898
+1997-01-15,11.304898
+1997-01-16,11.450451
+1997-01-17,11.353413
+1997-01-20,11.207858
+1997-01-21,11.256381
+1997-01-22,11.304898
+1997-01-23,11.062304
+1997-01-24,11.353413
+1997-01-27,11.110821
+1997-01-28,11.159345
+1997-01-29,11.110821
+1997-01-30,11.159345
+1997-01-31,11.353413
+1998-01-02,14.092124
+1998-01-05,14.092124
+1998-01-06,14.143367
+1998-01-07,14.322727
+1998-01-08,14.297104
+1998-01-09,14.168991
+1998-01-12,14.040874
+1998-01-13,14.066502
+1998-01-14,14.168991
+1998-01-15,14.194617
+1998-01-16,14.245855
+1998-01-20,14.194617
+1998-01-21,14.117746
+1998-01-22,14.143367
+1998-01-23,14.245855
+1998-01-26,14.245855
+1998-01-27,14.220234
+1998-01-28,14.168991
+1998-01-29,14.143367
+1998-01-30,14.117746
+1999-01-04,13.230343
+1999-01-05,13.203066
+1999-01-06,13.203066
+1999-01-07,13.039388
+1999-01-08,12.766598
+1999-01-11,12.821152
+1999-01-12,12.902991
+1999-01-13,12.902991
+1999-01-14,12.821152
+1999-01-15,12.848435
+1999-01-19,12.739317
+1999-01-20,12.684757
+1999-01-21,12.630203
+1999-01-22,12.521089
+1999-01-25,12.630203
+1999-01-26,12.602924
+1999-01-27,12.712043
+1999-01-28,12.766598
+1999-01-29,12.493807
+2000-01-03,15.558186
+2000-01-04,15.383052
+2000-01-05,15.324676
+2000-01-06,15.470617
+2000-01-07,15.996033
+2000-01-10,15.908471
+2000-01-11,15.733339
+2000-01-12,15.704144
+2000-01-13,15.879279
+2000-01-14,15.820903
+2000-01-18,15.762520
+2000-01-19,15.937666
+2000-01-20,16.025232
+2000-01-21,15.908471
+2000-01-24,15.879279
+2000-01-25,15.966846
+2000-01-26,15.937666
+2000-01-27,16.054424
+2000-01-28,15.850081
+2000-01-31,15.879279
+2001-01-02,26.713116
+2001-01-03,27.512373
+2001-01-04,27.082006
+2001-01-05,25.483532
+2001-01-08,25.606483
+2001-01-09,25.575748
+2001-01-10,25.821671
+2001-01-11,25.575748
+2001-01-12,25.667963
+2001-01-16,25.575748
+2001-01-17,25.422049
+2001-01-18,25.422049
+2001-01-19,25.268356
+2001-01-22,25.053175
+2001-01-23,25.422049
+2001-01-24,25.176126
+2001-01-25,25.299084
+2001-01-26,24.960945
+2001-01-29,25.231462
+2001-01-30,25.374096
+2001-01-31,25.452803
+2002-01-02,25.675541
+2002-01-03,25.883850
+2002-01-04,25.764086
+2002-01-07,25.597412
+2002-01-08,25.675541
+2002-01-09,25.691168
+2002-01-10,25.732815
+2002-01-11,25.597412
+2002-01-14,25.779692
+2002-01-15,25.482845
+2002-01-16,25.206820
+2002-01-17,25.060989
+2002-01-18,24.639147
+2002-01-22,24.659983
+2002-01-23,24.712048
+2002-01-24,24.764132
+2002-01-25,24.451653
+2002-01-28,24.295416
+2002-01-29,24.186050
+2002-01-30,24.180843
+2002-01-31,24.133957
+2003-01-02,28.385468
+2003-01-03,28.462799
+2003-01-06,28.589878
+2003-01-07,28.396505
+2003-01-08,28.186565
+2003-01-09,28.241816
+2003-01-10,27.998739
+2003-01-13,28.181055
+2003-01-14,28.286022
+2003-01-15,28.335747
+2003-01-16,28.181055
+2003-01-17,28.164482
+2003-01-21,27.391035
+2003-01-22,27.512575
+2003-01-23,27.435221
+2003-01-24,27.379992
+2003-01-27,27.346825
+2003-01-28,27.457314
+2003-01-29,27.556776
+2003-01-30,27.429695
+2003-01-31,27.888250
+2004-01-02,37.348442
+2004-01-05,36.888424
+2004-01-06,36.678802
+2004-01-07,36.556519
+2004-01-08,36.527412
+2004-01-09,36.440067
+2004-01-12,36.102333
+2004-01-13,36.311966
+2004-01-14,36.626404
+2004-01-15,36.422588
+2004-01-16,36.044113
+2004-01-20,35.316223
+2004-01-21,35.671436
+2004-01-22,35.787888
+2004-01-23,35.851940
+2004-01-26,36.638050
+2004-01-27,36.440067
+2004-01-28,36.568172
+2004-01-29,36.230438
+2004-01-30,36.189690
+2005-01-03,50.386105
+2005-01-04,49.320789
+2005-01-05,47.537167
+2005-01-06,47.299763
+2005-01-07,46.989285
+2005-01-10,46.143143
+2005-01-11,45.376110
+2005-01-12,44.791718
+2005-01-13,44.669949
+2005-01-14,45.917881
+2005-01-18,46.441418
+2005-01-19,46.484013
+2005-01-20,46.398804
+2005-01-21,46.270950
+2005-01-24,45.777878
+2005-01-25,44.438648
+2005-01-26,44.919548
+2005-01-27,44.134251
+2005-01-28,43.835968
+2005-01-31,43.799458
+2006-01-03,59.775452
+2006-01-04,60.237591
+2006-01-05,60.775749
+2006-01-06,60.775749
+2006-01-09,61.022594
+2006-01-10,61.598717
+2006-01-11,61.908955
+2006-01-12,62.010235
+2006-01-13,61.408806
+2006-01-17,61.598717
+2006-01-18,60.965633
+2006-01-19,62.263451
+2006-01-20,61.756992
+2006-01-23,61.978577
+2006-01-24,62.782581
+2006-01-25,62.655968
+2006-01-26,62.769924
+2006-01-27,63.308052
+2006-01-30,62.434391
+2006-01-31,62.915516
+2007-01-03,84.256409
+2007-01-04,84.171654
+2007-01-05,83.128639
+2007-01-08,82.463737
+2007-01-09,83.734894
+2007-01-10,85.299454
+2007-01-11,85.703606
+2007-01-12,86.687950
+2007-01-16,88.878311
+2007-01-17,88.760948
+2007-01-18,88.852226
+2007-01-19,89.614914
+2007-01-22,88.806557
+2007-01-23,90.169022
+2007-01-24,90.547127
+2007-01-25,92.046455
+2007-01-26,92.548416
+2007-01-29,92.567970
+2007-01-30,93.389343
+2007-01-31,94.093369
+2008-01-02,64.517250
+2008-01-03,61.951633
+2008-01-04,59.083050
+2008-01-07,60.254726
+2008-01-08,58.975300
+2008-01-09,60.369205
+2008-01-10,61.507225
+2008-01-11,61.338890
+2008-01-14,61.332161
+2008-01-15,60.530815
+2008-01-16,61.231144
+2008-01-17,61.803528
+2008-01-18,60.827110
+2008-01-22,62.099808
+2008-01-23,66.099731
+2008-01-24,65.332062
+2008-01-25,66.227669
+2008-01-28,68.995277
+2008-01-29,68.395981
+2008-01-30,68.416168
+2008-01-31,69.769676
+2009-01-02,52.629169
+2009-01-05,52.516857
+2009-01-06,53.541664
+2009-01-07,52.467724
+2009-01-08,50.930546
+2009-01-09,47.947422
+2009-01-12,44.297501
+2009-01-13,46.108429
+2009-01-14,44.978355
+2009-01-15,47.694759
+2009-01-16,49.947872
+2009-01-20,46.129490
+2009-01-21,49.091557
+2009-01-22,45.975075
+2009-01-23,47.027927
+2009-01-26,46.754189
+2009-01-27,47.835136
+2009-01-28,50.460274
+2009-01-29,48.291359
+2009-01-30,46.361134
+2010-01-04,61.487484
+2010-01-05,61.859592
+2010-01-06,62.291222
+2010-01-07,62.938728
+2010-01-08,62.291222
+2010-01-11,62.335896
+2010-01-12,61.509808
+2010-01-13,62.730350
+2010-01-14,63.154533
+2010-01-15,62.730350
+2010-01-19,63.586197
+2010-01-20,63.772228
+2010-01-21,62.112652
+2010-01-22,60.192535
+2010-01-25,60.616734
+2010-01-26,60.281830
+2010-01-27,61.026054
+2010-01-28,60.594398
+2010-01-29,59.306927
+2011-01-03,90.775146
+2011-01-04,89.311172
+2011-01-05,89.930824
+2011-01-06,89.365387
+2011-01-07,88.040833
+2011-01-10,87.808456
+2011-01-11,87.684517
+2011-01-12,88.188004
+2011-01-13,87.715492
+2011-01-14,87.986603
+2011-01-18,88.854164
+2011-01-19,87.010605
+2011-01-20,85.802231
+2011-01-21,86.042358
+2011-01-24,87.808456
+2011-01-25,89.435120
+2011-01-26,89.458336
+2011-01-27,90.217445
+2011-01-28,88.815414
+2011-01-31,89.853386
+2012-01-03,112.244843
+2012-01-04,110.396904
+2012-01-05,112.452858
+2012-01-06,111.980858
+2012-01-09,111.572861
+2012-01-10,111.956833
+2012-01-11,110.892868
+2012-01-12,109.548927
+2012-01-13,112.900818
+2012-01-17,113.188782
+2012-01-18,112.668816
+2012-01-19,111.180862
+2012-01-20,110.476921
+2012-01-23,112.052864
+2012-01-24,113.468788
+2012-01-25,115.356789
+2012-01-26,116.476730
+2012-01-27,115.404755
+2012-01-30,114.852768
+2012-01-31,115.196785
+2013-01-02,122.153351
+2013-01-03,122.573540
+2013-01-04,122.705467
+2013-01-07,122.911438
+2013-01-08,123.331635
+2013-01-09,123.793068
+2013-01-10,124.633522
+2013-01-11,124.509926
+2013-01-14,125.119705
+2013-01-15,126.182587
+2013-01-16,125.918907
+2013-01-17,125.787109
+2013-01-18,125.902420
+2013-01-22,126.742889
+2013-01-23,127.237244
+2013-01-24,127.245468
+2013-01-25,127.113647
+2013-01-28,127.327827
+2013-01-29,127.756378
+2013-01-30,126.396828
+2013-01-31,126.709908
+2014-01-02,124.510254
+2014-01-03,126.118752
+2014-01-06,126.782562
+2014-01-07,127.905991
+2014-01-08,127.071922
+2014-01-09,127.182587
+2014-01-10,128.561295
+2014-01-13,128.825104
+2014-01-14,129.854904
+2014-01-15,130.144287
+2014-01-16,130.850693
+2014-01-17,130.391098
+2014-01-21,131.446396
+2014-01-22,132.042114
+2014-01-23,131.608109
+2014-01-24,129.854904
+2014-01-27,128.918762
+2014-01-28,130.314499
+2014-01-29,130.161301
+2014-01-30,133.080444
+2014-01-31,134.782562
+2015-01-02,185.204254
+2015-01-05,185.943863
+2015-01-06,188.620453
+2015-01-07,191.464371
+2015-01-08,192.697006
+2015-01-09,194.246597
+2015-01-12,195.496826
+2015-01-13,195.848999
+2015-01-14,198.490402
+2015-01-15,200.101669
+2015-01-16,200.894012
+2015-01-20,199.080307
+2015-01-21,198.833771
+2015-01-22,201.466339
+2015-01-23,200.621109
+2015-01-26,202.602142
+2015-01-27,201.880173
+2015-01-28,200.136871
+2015-01-29,202.082672
+2015-01-30,199.027481
+2016-01-04,214.344742
+2016-01-05,216.801361
+2016-01-06,215.004074
+2016-01-07,212.881561
+2016-01-08,211.048096
+2016-01-11,212.872543
+2016-01-12,212.050629
+2016-01-13,211.147446
+2016-01-14,208.483047
+2016-01-15,207.868866
+2016-01-19,209.837860
+2016-01-20,202.747772
+2016-01-21,199.604675
+2016-01-22,203.082001
+2016-01-25,201.510452
+2016-01-26,204.409683
+2016-01-27,199.098907
+2016-01-28,190.374130
+2016-01-29,192.478531
+2017-01-03,213.024994
+2017-01-04,214.679001
+2017-01-05,216.286560
+2017-01-06,217.197205
+2017-01-09,214.400253
+2017-01-10,213.814850
+2017-01-11,210.813416
+2017-01-12,212.263031
+2017-01-13,211.863480
+2017-01-17,213.331635
+2017-01-18,211.770538
+2017-01-19,210.627579
+2017-01-20,212.365234
+2017-01-23,214.753357
+2017-01-24,210.664749
+2017-01-25,209.865631
+2017-01-26,209.428894
+2017-01-27,209.456787
+2017-01-30,207.440338
+2017-01-31,208.425308
+2018-01-02,229.548279
+2018-01-03,231.900345
+2018-01-04,228.247955
+2018-01-05,228.869400
+2018-01-08,227.712494
+2018-01-09,225.905411
+2018-01-10,222.033066
+2018-01-11,222.243439
+2018-01-12,217.137680
+2018-01-16,217.615753
+2018-01-17,217.386276
+2018-01-18,214.747330
+2018-01-19,213.819901
+2018-01-22,216.659607
+2018-01-23,221.660156
+2018-01-24,221.392456
+2018-01-25,221.115173
+2018-01-26,219.747925
+2018-01-29,217.749588
+2018-01-30,216.803040
+2018-01-31,222.759735
+2019-01-02,233.417938
+2019-01-03,234.651184
+2019-01-04,235.105011
+2019-01-07,236.081741
+2019-01-08,241.981583
+2019-01-09,241.774384
+2019-01-10,245.345840
+2019-01-11,246.085785
+2019-01-14,245.553040
+2019-01-15,249.213287
+2019-01-16,253.218857
+2019-01-17,254.718460
+2019-01-18,256.445007
+2019-01-22,257.767029
+2019-01-23,258.289948
+2019-01-24,258.092651
+2019-01-25,259.296265
+2019-01-28,262.907196
+2019-01-29,265.304596
+2019-01-30,267.376465
+2019-01-31,267.563904
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/EXR.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,304 @@
+Date,Adj Close
+2005-01-03,7.163709
+2005-01-04,7.233783
+2005-01-05,7.007391
+2005-01-06,7.249954
+2005-01-07,7.417053
+2005-01-10,7.228390
+2005-01-11,7.255342
+2005-01-12,7.276906
+2005-01-13,7.034340
+2005-01-14,7.470956
+2005-01-18,7.142148
+2005-01-19,7.169097
+2005-01-20,7.088242
+2005-01-21,7.104415
+2005-01-24,7.131368
+2005-01-25,7.066681
+2005-01-26,6.980437
+2005-01-27,7.007391
+2005-01-28,6.975048
+2005-01-31,6.991222
+2006-01-03,8.758926
+2006-01-04,8.804816
+2006-01-05,8.713039
+2006-01-06,8.770401
+2006-01-09,8.741723
+2006-01-10,8.793346
+2006-01-11,8.833497
+2006-01-12,8.776135
+2006-01-13,8.609791
+2006-01-17,8.535221
+2006-01-18,8.523751
+2006-01-19,8.609791
+2006-01-20,8.489337
+2006-01-23,8.598317
+2006-01-24,8.592582
+2006-01-25,8.586845
+2006-01-26,8.833497
+2006-01-27,8.953953
+2006-01-30,8.862177
+2006-01-31,8.804816
+2007-01-03,11.232760
+2007-01-04,11.360064
+2007-01-05,11.038780
+2007-01-08,10.929667
+2007-01-09,11.032718
+2007-01-10,11.129711
+2007-01-11,11.196390
+2007-01-12,11.360064
+2007-01-16,11.335818
+2007-01-17,11.372184
+2007-01-18,11.238826
+2007-01-19,11.372184
+2007-01-22,11.463114
+2007-01-23,11.366122
+2007-01-24,11.396434
+2007-01-25,11.432804
+2007-01-26,11.475241
+2007-01-29,11.620724
+2007-01-30,11.784402
+2007-01-31,11.966260
+2008-01-02,8.963073
+2008-01-03,8.686794
+2008-01-04,8.545442
+2008-01-07,8.487614
+2008-01-08,8.217758
+2008-01-09,8.326987
+2008-01-10,8.410514
+2008-01-11,8.461915
+2008-01-14,8.577569
+2008-01-15,8.320561
+2008-01-16,8.609691
+2008-01-17,8.648242
+2008-01-18,8.513315
+2008-01-22,8.596840
+2008-01-23,9.175104
+2008-01-24,9.065878
+2008-01-25,9.220080
+2008-01-28,9.727665
+2008-01-29,9.605588
+2008-01-30,9.444955
+2008-01-31,9.727665
+2009-01-02,7.031690
+2009-01-05,6.727167
+2009-01-06,7.190872
+2009-01-07,6.962480
+2009-01-08,6.830982
+2009-01-09,6.540300
+2009-01-12,6.180412
+2009-01-13,6.339593
+2009-01-14,6.000467
+2009-01-15,6.173491
+2009-01-16,6.526461
+2009-01-20,5.737470
+2009-01-21,5.792839
+2009-01-22,5.848207
+2009-01-23,5.910494
+2009-01-26,5.924337
+2009-01-27,6.083519
+2009-01-28,6.394960
+2009-01-29,5.882810
+2009-01-30,5.612894
+2010-01-04,8.714345
+2010-01-05,8.655711
+2010-01-06,8.685031
+2010-01-07,8.619066
+2010-01-08,8.428509
+2010-01-11,8.494472
+2010-01-12,8.193978
+2010-01-13,8.340557
+2010-01-14,8.311239
+2010-01-15,8.347886
+2010-01-19,8.589749
+2010-01-20,8.611734
+2010-01-21,8.472486
+2010-01-22,8.413851
+2010-01-25,8.443167
+2010-01-26,8.318572
+2010-01-27,8.355216
+2010-01-28,8.281928
+2010-01-29,8.318572
+2011-01-03,13.471121
+2011-01-04,13.328050
+2011-01-05,13.365702
+2011-01-06,13.177449
+2011-01-07,13.305463
+2011-01-10,13.456056
+2011-01-11,13.456056
+2011-01-12,13.569010
+2011-01-13,13.599131
+2011-01-14,13.809967
+2011-01-18,13.719606
+2011-01-19,13.719606
+2011-01-20,13.900328
+2011-01-21,14.141287
+2011-01-24,14.178936
+2011-01-25,14.306949
+2011-01-26,14.442487
+2011-01-27,14.615680
+2011-01-28,14.322005
+2011-01-31,14.480132
+2012-01-03,18.868734
+2012-01-04,18.559408
+2012-01-05,18.860994
+2012-01-06,18.868734
+2012-01-09,18.783667
+2012-01-10,19.092991
+2012-01-11,18.953794
+2012-01-12,18.946060
+2012-01-13,18.953794
+2012-01-17,19.062056
+2012-01-18,19.131655
+2012-01-19,19.286314
+2012-01-20,19.688437
+2012-01-23,19.642040
+2012-01-24,19.642040
+2012-01-25,19.835367
+2012-01-26,19.951363
+2012-01-27,20.005497
+2012-01-30,19.889503
+2012-01-31,20.353485
+2013-01-02,29.292347
+2013-01-03,29.530823
+2013-01-04,29.673899
+2013-01-07,29.729549
+2013-01-08,29.530823
+2013-01-09,30.055454
+2013-01-10,30.047501
+2013-01-11,29.920319
+2013-01-14,29.920319
+2013-01-15,29.975960
+2013-01-16,30.142889
+2013-01-17,30.341627
+2013-01-18,30.627787
+2013-01-22,30.667543
+2013-01-23,30.532393
+2013-01-24,30.961649
+2013-01-25,31.255774
+2013-01-28,31.152428
+2013-01-29,31.518084
+2013-01-30,31.478334
+2013-01-31,31.669113
+2014-01-02,34.391285
+2014-01-03,34.638168
+2014-01-06,34.786304
+2014-01-07,34.679321
+2014-01-08,34.539425
+2014-01-09,34.967354
+2014-01-10,35.856144
+2014-01-13,35.633945
+2014-01-14,36.185326
+2014-01-15,36.744930
+2014-01-16,36.522736
+2014-01-17,36.193558
+2014-01-21,36.308765
+2014-01-22,36.135952
+2014-01-23,36.234703
+2014-01-24,35.880836
+2014-01-27,35.921978
+2014-01-28,36.744930
+2014-01-29,36.736706
+2014-01-30,37.320995
+2014-01-31,37.576118
+2015-01-02,50.172832
+2015-01-05,51.279457
+2015-01-06,52.394608
+2015-01-07,53.152218
+2015-01-08,53.952396
+2015-01-09,53.748096
+2015-01-12,54.514221
+2015-01-13,54.573814
+2015-01-14,55.144150
+2015-01-15,55.688953
+2015-01-16,56.778553
+2015-01-20,56.421032
+2015-01-21,56.301857
+2015-01-22,56.991371
+2015-01-23,56.608299
+2015-01-26,56.804092
+2015-01-27,56.914761
+2015-01-28,57.229725
+2015-01-29,57.365925
+2015-01-30,56.182678
+2016-01-04,77.147774
+2016-01-05,79.414238
+2016-01-06,80.073090
+2016-01-07,79.220970
+2016-01-08,78.983780
+2016-01-11,79.774406
+2016-01-12,79.510880
+2016-01-13,78.667542
+2016-01-14,76.620682
+2016-01-15,75.575294
+2016-01-19,77.745148
+2016-01-20,74.538689
+2016-01-21,74.424500
+2016-01-22,76.734901
+2016-01-25,76.954498
+2016-01-26,79.466942
+2016-01-27,77.955963
+2016-01-28,78.483063
+2016-01-29,79.669014
+2017-01-03,70.199860
+2017-01-04,70.573402
+2017-01-05,71.493591
+2017-01-06,72.158699
+2017-01-09,71.302269
+2017-01-10,69.817184
+2017-01-11,68.013214
+2017-01-12,67.247894
+2017-01-13,66.191025
+2017-01-17,66.546356
+2017-01-18,66.664803
+2017-01-19,66.601021
+2017-01-20,66.892570
+2017-01-23,68.332092
+2017-01-24,68.459648
+2017-01-25,67.211441
+2017-01-26,67.402786
+2017-01-27,66.692131
+2017-01-30,65.872139
+2017-01-31,65.644371
+2018-01-02,81.241776
+2018-01-03,81.412453
+2018-01-04,79.933258
+2018-01-05,79.553986
+2018-01-08,80.758194
+2018-01-09,78.804901
+2018-01-10,78.093758
+2018-01-11,77.989441
+2018-01-12,77.989441
+2018-01-16,78.425613
+2018-01-17,79.136772
+2018-01-18,78.416138
+2018-01-19,79.307457
+2018-01-22,80.739243
+2018-01-23,82.227905
+2018-01-24,81.109032
+2018-01-25,80.596992
+2018-01-26,79.847923
+2018-01-29,78.501480
+2018-01-30,78.615273
+2018-01-31,79.155739
+2019-01-02,85.972244
+2019-01-03,86.975121
+2019-01-04,86.365524
+2019-01-07,86.227875
+2019-01-08,87.594536
+2019-01-09,87.024284
+2019-01-10,88.459778
+2019-01-11,88.223801
+2019-01-14,88.518761
+2019-01-15,90.042747
+2019-01-16,90.465530
+2019-01-17,90.593353
+2019-01-18,90.780159
+2019-01-22,90.799820
+2019-01-23,90.583511
+2019-01-24,90.485191
+2019-01-25,91.586395
+2019-01-28,93.179192
+2019-01-29,94.929329
+2019-01-30,95.892868
+2019-01-31,96.954742
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/FB.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,144 @@
+Date,Adj Close
+2013-01-02,28.000000
+2013-01-03,27.770000
+2013-01-04,28.760000
+2013-01-07,29.420000
+2013-01-08,29.059999
+2013-01-09,30.590000
+2013-01-10,31.299999
+2013-01-11,31.719999
+2013-01-14,30.950001
+2013-01-15,30.100000
+2013-01-16,29.850000
+2013-01-17,30.139999
+2013-01-18,29.660000
+2013-01-22,30.730000
+2013-01-23,30.820000
+2013-01-24,31.080000
+2013-01-25,31.540001
+2013-01-28,32.470001
+2013-01-29,30.790001
+2013-01-30,31.240000
+2013-01-31,30.980000
+2014-01-02,54.709999
+2014-01-03,54.560001
+2014-01-06,57.200001
+2014-01-07,57.919998
+2014-01-08,58.230000
+2014-01-09,57.220001
+2014-01-10,57.939999
+2014-01-13,55.910000
+2014-01-14,57.740002
+2014-01-15,57.599998
+2014-01-16,57.189999
+2014-01-17,56.299999
+2014-01-21,58.509998
+2014-01-22,57.509998
+2014-01-23,56.630001
+2014-01-24,54.450001
+2014-01-27,53.549999
+2014-01-28,55.139999
+2014-01-29,53.529999
+2014-01-30,61.080002
+2014-01-31,62.570000
+2015-01-02,78.449997
+2015-01-05,77.190002
+2015-01-06,76.150002
+2015-01-07,76.150002
+2015-01-08,78.180000
+2015-01-09,77.739998
+2015-01-12,76.720001
+2015-01-13,76.449997
+2015-01-14,76.279999
+2015-01-15,74.050003
+2015-01-16,75.180000
+2015-01-20,76.239998
+2015-01-21,76.739998
+2015-01-22,77.650002
+2015-01-23,77.830002
+2015-01-26,77.500000
+2015-01-27,75.779999
+2015-01-28,76.239998
+2015-01-29,78.000000
+2015-01-30,75.910004
+2016-01-04,102.220001
+2016-01-05,102.730003
+2016-01-06,102.970001
+2016-01-07,97.919998
+2016-01-08,97.330002
+2016-01-11,97.510002
+2016-01-12,99.370003
+2016-01-13,95.440002
+2016-01-14,98.370003
+2016-01-15,94.970001
+2016-01-19,95.260002
+2016-01-20,94.349998
+2016-01-21,94.160004
+2016-01-22,97.940002
+2016-01-25,97.010002
+2016-01-26,97.339996
+2016-01-27,94.449997
+2016-01-28,109.110001
+2016-01-29,112.209999
+2017-01-03,116.860001
+2017-01-04,118.690002
+2017-01-05,120.669998
+2017-01-06,123.410004
+2017-01-09,124.900002
+2017-01-10,124.349998
+2017-01-11,126.089996
+2017-01-12,126.620003
+2017-01-13,128.339996
+2017-01-17,127.870003
+2017-01-18,127.919998
+2017-01-19,127.550003
+2017-01-20,127.040001
+2017-01-23,128.929993
+2017-01-24,129.369995
+2017-01-25,131.479996
+2017-01-26,132.779999
+2017-01-27,132.179993
+2017-01-30,130.979996
+2017-01-31,130.320007
+2018-01-02,181.419998
+2018-01-03,184.669998
+2018-01-04,184.330002
+2018-01-05,186.850006
+2018-01-08,188.279999
+2018-01-09,187.869995
+2018-01-10,187.839996
+2018-01-11,187.770004
+2018-01-12,179.369995
+2018-01-16,178.389999
+2018-01-17,177.600006
+2018-01-18,179.800003
+2018-01-19,181.289993
+2018-01-22,185.369995
+2018-01-23,189.350006
+2018-01-24,186.550003
+2018-01-25,187.479996
+2018-01-26,190.000000
+2018-01-29,185.979996
+2018-01-30,187.119995
+2018-01-31,186.889999
+2019-01-02,135.679993
+2019-01-03,131.740005
+2019-01-04,137.949997
+2019-01-07,138.050003
+2019-01-08,142.529999
+2019-01-09,144.229996
+2019-01-10,144.199997
+2019-01-11,143.800003
+2019-01-14,145.389999
+2019-01-15,148.949997
+2019-01-16,147.539993
+2019-01-17,148.300003
+2019-01-18,150.039993
+2019-01-22,147.570007
+2019-01-23,144.300003
+2019-01-24,145.830002
+2019-01-25,149.009995
+2019-01-28,147.470001
+2019-01-29,144.190002
+2019-01-30,150.419998
+2019-01-31,166.690002
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/FRT.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,958 @@
+Date,Adj Close
+1974-01-02,0.454515
+1974-01-03,0.460657
+1974-01-04,0.460657
+1974-01-07,0.460657
+1974-01-08,0.442231
+1974-01-09,0.442231
+1974-01-10,0.442231
+1974-01-11,0.442231
+1974-01-14,0.442231
+1974-01-15,0.442231
+1974-01-16,0.442231
+1974-01-17,0.442231
+1974-01-18,0.442231
+1974-01-21,0.442231
+1974-01-22,0.442231
+1974-01-23,0.442231
+1974-01-24,0.454515
+1974-01-25,0.466800
+1974-01-28,0.466800
+1974-01-29,0.454515
+1974-01-30,0.454515
+1974-01-31,0.454515
+1975-01-02,0.350099
+1975-01-03,0.356242
+1975-01-06,0.356242
+1975-01-07,0.356242
+1975-01-08,0.356242
+1975-01-09,0.356242
+1975-01-10,0.356242
+1975-01-13,0.356242
+1975-01-14,0.356242
+1975-01-15,0.356242
+1975-01-16,0.362384
+1975-01-17,0.368526
+1975-01-20,0.386952
+1975-01-21,0.386952
+1975-01-22,0.380810
+1975-01-23,0.386952
+1975-01-24,0.405379
+1975-01-27,0.405379
+1975-01-28,0.405379
+1975-01-29,0.405379
+1975-01-30,0.417663
+1975-01-31,0.417663
+1976-01-02,0.540505
+1976-01-05,0.540505
+1976-01-06,0.540505
+1976-01-07,0.546647
+1976-01-08,0.558931
+1976-01-09,0.558931
+1976-01-12,0.571215
+1976-01-13,0.571215
+1976-01-14,0.571215
+1976-01-15,0.577357
+1976-01-16,0.583499
+1976-01-19,0.583499
+1976-01-20,0.583499
+1976-01-21,0.589641
+1976-01-22,0.577357
+1976-01-23,0.589641
+1976-01-26,0.608067
+1976-01-27,0.614210
+1976-01-28,0.614210
+1976-01-29,0.601926
+1976-01-30,0.614210
+1977-01-03,0.657205
+1977-01-04,0.644921
+1977-01-05,0.651062
+1977-01-06,0.663346
+1977-01-07,0.675631
+1977-01-10,0.694057
+1977-01-11,0.687915
+1977-01-12,0.687915
+1977-01-13,0.687915
+1977-01-14,0.681773
+1977-01-17,0.669489
+1977-01-18,0.675631
+1977-01-19,0.675631
+1977-01-20,0.675631
+1977-01-21,0.669489
+1977-01-24,0.681773
+1977-01-25,0.687915
+1977-01-26,0.687915
+1977-01-27,0.694057
+1977-01-28,0.700199
+1977-01-31,0.700199
+1978-01-03,0.786189
+1978-01-04,0.792330
+1978-01-05,0.792330
+1978-01-06,0.761620
+1978-01-09,0.737052
+1978-01-10,0.761620
+1978-01-11,0.749336
+1978-01-12,0.761620
+1978-01-13,0.755478
+1978-01-16,0.761620
+1978-01-17,0.761620
+1978-01-18,0.761620
+1978-01-19,0.743194
+1978-01-20,0.743194
+1978-01-23,0.737052
+1978-01-24,0.730910
+1978-01-25,0.737052
+1978-01-26,0.737052
+1978-01-27,0.737052
+1978-01-30,0.737052
+1978-01-31,0.737052
+1979-01-02,0.749336
+1979-01-03,0.743194
+1979-01-04,0.749336
+1979-01-05,0.743194
+1979-01-08,0.743194
+1979-01-09,0.773904
+1979-01-10,0.773904
+1979-01-11,0.761620
+1979-01-12,0.767762
+1979-01-15,0.773904
+1979-01-16,0.780046
+1979-01-17,0.773904
+1979-01-18,0.773904
+1979-01-19,0.786189
+1979-01-22,0.786189
+1979-01-23,0.773904
+1979-01-24,0.792330
+1979-01-25,0.773904
+1979-01-26,0.786189
+1979-01-29,0.773904
+1979-01-30,0.767762
+1979-01-31,0.761620
+1980-01-02,0.737052
+1980-01-03,0.743194
+1980-01-04,0.743194
+1980-01-07,0.749336
+1980-01-08,0.761620
+1980-01-09,0.749336
+1980-01-10,0.724767
+1980-01-11,0.755478
+1980-01-14,0.749336
+1980-01-15,0.761620
+1980-01-16,0.767762
+1980-01-17,0.780046
+1980-01-18,0.792330
+1980-01-21,0.798473
+1980-01-22,0.816899
+1980-01-23,0.829183
+1980-01-24,0.829183
+1980-01-25,0.823042
+1980-01-28,0.823042
+1980-01-29,0.823042
+1980-01-30,0.841468
+1980-01-31,0.847609
+1981-01-02,1.044157
+1981-01-05,1.056440
+1981-01-06,1.068725
+1981-01-07,1.056440
+1981-01-08,1.031872
+1981-01-09,1.013446
+1981-01-12,1.019588
+1981-01-13,1.001162
+1981-01-14,1.001162
+1981-01-15,1.025730
+1981-01-16,1.019588
+1981-01-19,1.038014
+1981-01-20,1.050298
+1981-01-21,1.074867
+1981-01-22,1.068725
+1981-01-23,1.068725
+1981-01-26,1.081009
+1981-01-27,1.081009
+1981-01-28,1.062583
+1981-01-29,1.062583
+1981-01-30,1.068725
+1982-01-04,0.995020
+1982-01-05,0.976594
+1982-01-06,0.976594
+1982-01-07,0.976594
+1982-01-08,0.976594
+1982-01-11,0.982736
+1982-01-12,0.970452
+1982-01-13,0.970452
+1982-01-14,0.958167
+1982-01-15,0.982736
+1982-01-18,0.970452
+1982-01-19,0.964309
+1982-01-20,0.995020
+1982-01-21,1.050298
+1982-01-22,1.031872
+1982-01-25,1.031872
+1982-01-26,1.038014
+1982-01-27,1.044157
+1982-01-28,1.031872
+1982-01-29,1.044157
+1983-01-03,1.326693
+1983-01-04,1.326693
+1983-01-05,1.302125
+1983-01-06,1.277556
+1983-01-07,1.314409
+1983-01-10,1.302125
+1983-01-11,1.277556
+1983-01-12,1.302125
+1983-01-13,1.326693
+1983-01-14,1.314409
+1983-01-17,1.338977
+1983-01-18,1.338977
+1983-01-19,1.314409
+1983-01-20,1.289841
+1983-01-21,1.289841
+1983-01-24,1.302125
+1983-01-25,1.302125
+1983-01-26,1.326693
+1983-01-27,1.326693
+1983-01-28,1.302125
+1983-01-31,1.314409
+1984-01-03,1.682935
+1984-01-04,1.670651
+1984-01-05,1.682935
+1984-01-06,1.719788
+1984-01-09,1.695219
+1984-01-10,1.707502
+1984-01-11,1.732071
+1984-01-12,1.768924
+1984-01-13,1.756641
+1984-01-16,1.744355
+1984-01-17,1.756641
+1984-01-18,1.768924
+1984-01-19,1.719788
+1984-01-20,1.719788
+1984-01-23,1.695219
+1984-01-24,1.682935
+1984-01-25,1.670651
+1984-01-26,1.682935
+1984-01-27,1.707502
+1984-01-30,1.695219
+1984-01-31,1.732071
+1985-01-02,2.095140
+1985-01-03,2.120384
+1985-01-04,2.145624
+1985-01-07,2.170867
+1985-01-08,2.145624
+1985-01-09,2.095140
+1985-01-10,2.107762
+1985-01-11,2.107762
+1985-01-14,2.095140
+1985-01-15,2.095140
+1985-01-16,2.069898
+1985-01-17,2.057276
+1985-01-18,2.145624
+1985-01-21,2.133004
+1985-01-22,2.183490
+1985-01-23,2.120384
+1985-01-24,2.120384
+1985-01-25,2.145624
+1985-01-28,2.133004
+1985-01-29,2.145624
+1985-01-30,2.183490
+1985-01-31,2.170867
+1986-01-02,2.780971
+1986-01-03,2.739465
+1986-01-06,2.718710
+1986-01-07,2.739465
+1986-01-08,2.760219
+1986-01-09,2.760219
+1986-01-10,2.739465
+1986-01-13,2.739465
+1986-01-14,2.760219
+1986-01-15,2.760219
+1986-01-16,2.780971
+1986-01-17,2.780971
+1986-01-20,2.760219
+1986-01-21,2.822478
+1986-01-22,2.822478
+1986-01-23,2.822478
+1986-01-24,2.801724
+1986-01-27,2.863986
+1986-01-28,2.863986
+1986-01-29,2.780971
+1986-01-30,2.760219
+1986-01-31,2.884739
+1987-01-02,3.552812
+1987-01-05,3.684398
+1987-01-06,3.640536
+1987-01-07,3.640536
+1987-01-08,3.684398
+1987-01-09,3.662465
+1987-01-12,3.684398
+1987-01-13,3.728259
+1987-01-14,3.728259
+1987-01-15,3.728259
+1987-01-16,3.662465
+1987-01-19,3.706329
+1987-01-20,3.684398
+1987-01-21,3.706329
+1987-01-22,3.750190
+1987-01-23,3.881774
+1987-01-26,3.881774
+1987-01-27,4.035294
+1987-01-28,4.013361
+1987-01-29,4.013361
+1987-01-30,4.013361
+1988-01-04,3.766532
+1988-01-05,3.812746
+1988-01-06,3.812746
+1988-01-07,3.928282
+1988-01-08,3.650991
+1988-01-11,3.627887
+1988-01-12,3.558564
+1988-01-13,3.581671
+1988-01-14,3.581671
+1988-01-15,3.674102
+1988-01-18,3.627887
+1988-01-19,3.604778
+1988-01-20,3.581671
+1988-01-21,3.627887
+1988-01-22,3.627887
+1988-01-25,3.674102
+1988-01-26,3.627887
+1988-01-27,3.581671
+1988-01-28,3.604778
+1988-01-29,3.604778
+1989-01-03,4.077244
+1989-01-04,4.101806
+1989-01-05,4.101806
+1989-01-06,4.175491
+1989-01-09,4.175491
+1989-01-10,4.175491
+1989-01-11,4.175491
+1989-01-12,4.150931
+1989-01-13,4.200053
+1989-01-16,4.200053
+1989-01-17,4.249177
+1989-01-18,4.273737
+1989-01-19,4.273737
+1989-01-20,4.175491
+1989-01-23,4.126368
+1989-01-24,4.175491
+1989-01-25,4.150931
+1989-01-26,4.298299
+1989-01-27,4.298299
+1989-01-30,4.371985
+1989-01-31,4.347422
+1990-01-02,4.583460
+1990-01-03,4.531376
+1990-01-04,4.557418
+1990-01-05,4.557418
+1990-01-08,4.531376
+1990-01-09,4.557418
+1990-01-10,4.531376
+1990-01-11,4.427206
+1990-01-12,4.375121
+1990-01-15,4.375121
+1990-01-16,4.401164
+1990-01-17,4.427206
+1990-01-18,4.427206
+1990-01-19,4.375121
+1990-01-22,4.375121
+1990-01-23,4.323038
+1990-01-24,4.323038
+1990-01-25,4.323038
+1990-01-26,4.349079
+1990-01-29,4.323038
+1990-01-30,4.349079
+1990-01-31,4.349079
+1991-01-02,3.214985
+1991-01-03,3.243188
+1991-01-04,3.214985
+1991-01-07,3.158583
+1991-01-08,3.158583
+1991-01-09,3.158583
+1991-01-10,3.102180
+1991-01-11,3.102180
+1991-01-14,3.130382
+1991-01-15,3.243188
+1991-01-16,3.271389
+1991-01-17,3.327793
+1991-01-18,3.355994
+1991-01-21,3.355994
+1991-01-22,3.384197
+1991-01-23,3.355994
+1991-01-24,3.440598
+1991-01-25,3.440598
+1991-01-28,3.666213
+1991-01-29,3.863624
+1991-01-30,3.835423
+1991-01-31,3.891825
+1992-01-02,4.619303
+1992-01-03,4.680483
+1992-01-06,4.741668
+1992-01-07,4.772258
+1992-01-08,4.802850
+1992-01-09,4.955804
+1992-01-10,5.016985
+1992-01-13,4.986398
+1992-01-14,5.108765
+1992-01-15,5.078173
+1992-01-16,5.108765
+1992-01-17,5.078173
+1992-01-20,5.078173
+1992-01-21,4.894623
+1992-01-22,4.986398
+1992-01-23,5.016985
+1992-01-24,4.894623
+1992-01-27,4.955804
+1992-01-28,4.986398
+1992-01-29,5.078173
+1992-01-30,5.078173
+1992-01-31,5.078173
+1993-01-04,6.542656
+1993-01-05,6.444518
+1993-01-06,6.444518
+1993-01-07,6.509944
+1993-01-08,6.477230
+1993-01-11,6.575368
+1993-01-12,6.575368
+1993-01-13,6.608083
+1993-01-14,6.608083
+1993-01-15,6.542656
+1993-01-18,6.608083
+1993-01-19,6.575368
+1993-01-20,6.706225
+1993-01-21,6.738938
+1993-01-22,6.346375
+1993-01-25,6.411801
+1993-01-26,6.444518
+1993-01-27,6.313663
+1993-01-28,6.379088
+1993-01-29,6.444518
+1994-01-03,6.858967
+1994-01-04,7.066814
+1994-01-05,7.205379
+1994-01-06,7.170742
+1994-01-07,7.205379
+1994-01-10,7.240020
+1994-01-11,7.205379
+1994-01-12,7.240020
+1994-01-13,7.240020
+1994-01-14,7.378585
+1994-01-17,7.413226
+1994-01-18,7.136100
+1994-01-19,7.205379
+1994-01-20,6.997533
+1994-01-21,7.032175
+1994-01-24,6.928251
+1994-01-25,6.928251
+1994-01-26,6.893607
+1994-01-27,6.997533
+1994-01-28,6.858967
+1994-01-31,6.685759
+1995-01-03,6.212200
+1995-01-04,6.175223
+1995-01-05,6.249177
+1995-01-06,6.212200
+1995-01-09,6.249177
+1995-01-10,6.064289
+1995-01-11,6.064289
+1995-01-12,6.101269
+1995-01-13,6.175223
+1995-01-16,6.138246
+1995-01-17,6.138246
+1995-01-18,6.101269
+1995-01-19,6.138246
+1995-01-20,6.138246
+1995-01-23,6.101269
+1995-01-24,6.027312
+1995-01-25,6.064289
+1995-01-26,6.175223
+1995-01-27,6.212200
+1995-01-30,6.175223
+1995-01-31,6.175223
+1996-01-02,7.315208
+1996-01-03,7.275451
+1996-01-04,7.195935
+1996-01-05,7.195935
+1996-01-08,7.116422
+1996-01-09,7.235691
+1996-01-10,7.116422
+1996-01-11,7.156185
+1996-01-12,7.116422
+1996-01-15,7.156185
+1996-01-16,7.156185
+1996-01-17,7.116422
+1996-01-18,7.036911
+1996-01-19,7.036911
+1996-01-22,6.997155
+1996-01-23,6.957395
+1996-01-24,6.877886
+1996-01-25,6.877886
+1996-01-26,6.917640
+1996-01-29,6.758615
+1996-01-30,6.798372
+1996-01-31,6.798372
+1997-01-02,9.114850
+1997-01-03,9.114850
+1997-01-06,9.200036
+1997-01-07,9.285217
+1997-01-08,9.413002
+1997-01-09,9.455589
+1997-01-10,9.498181
+1997-01-13,9.583366
+1997-01-14,9.583366
+1997-01-15,9.668551
+1997-01-16,9.625957
+1997-01-17,9.625957
+1997-01-20,9.668551
+1997-01-21,9.753738
+1997-01-22,9.540769
+1997-01-23,9.668551
+1997-01-24,9.498181
+1997-01-27,9.540769
+1997-01-28,9.583366
+1997-01-29,9.583366
+1997-01-30,9.540769
+1997-01-31,9.625957
+1998-01-02,9.404837
+1998-01-05,9.404837
+1998-01-06,9.404837
+1998-01-07,9.336682
+1998-01-08,9.245816
+1998-01-09,9.109516
+1998-01-12,9.109516
+1998-01-13,9.313968
+1998-01-14,9.109516
+1998-01-15,9.177668
+1998-01-16,9.200383
+1998-01-20,9.200383
+1998-01-21,9.154947
+1998-01-22,9.154947
+1998-01-23,9.132237
+1998-01-26,9.154947
+1998-01-27,9.064081
+1998-01-28,9.086798
+1998-01-29,9.154947
+1998-01-30,8.995930
+1999-01-04,9.186821
+1999-01-05,9.577750
+1999-01-06,9.577750
+1999-01-07,9.431150
+1999-01-08,9.382285
+1999-01-11,9.260122
+1999-01-12,9.333417
+1999-01-13,9.480016
+1999-01-14,9.382285
+1999-01-15,9.382285
+1999-01-19,9.431150
+1999-01-20,9.235686
+1999-01-21,9.357848
+1999-01-22,9.113521
+1999-01-25,9.186821
+1999-01-26,9.015787
+1999-01-27,9.015787
+1999-01-28,8.869192
+1999-01-29,8.991356
+2000-01-03,8.015621
+2000-01-04,7.988995
+2000-01-05,7.962364
+2000-01-06,8.202036
+2000-01-07,8.628118
+2000-01-10,8.681378
+2000-01-11,8.361818
+2000-01-12,8.521595
+2000-01-13,8.494966
+2000-01-14,8.415076
+2000-01-18,8.521595
+2000-01-19,8.574853
+2000-01-20,8.601487
+2000-01-21,8.601487
+2000-01-24,8.521595
+2000-01-25,8.521595
+2000-01-26,8.521595
+2000-01-27,8.548226
+2000-01-28,8.548226
+2000-01-31,8.494966
+2001-01-02,8.908318
+2001-01-03,9.112765
+2001-01-04,9.171183
+2001-01-05,9.083555
+2001-01-08,9.054350
+2001-01-09,9.112765
+2001-01-10,9.171183
+2001-01-11,9.171183
+2001-01-12,9.171183
+2001-01-16,9.200389
+2001-01-17,9.112765
+2001-01-18,9.083555
+2001-01-19,9.229596
+2001-01-22,9.200389
+2001-01-23,9.200389
+2001-01-24,9.171183
+2001-01-25,9.083555
+2001-01-26,9.083555
+2001-01-29,9.159497
+2001-01-30,9.271656
+2001-01-31,9.215581
+2002-01-02,11.707959
+2002-01-03,11.876455
+2002-01-04,11.779446
+2002-01-07,11.707959
+2002-01-08,11.866239
+2002-01-09,11.907094
+2002-01-10,11.922410
+2002-01-11,12.065380
+2002-01-14,12.550448
+2002-01-15,12.407477
+2002-01-16,12.279826
+2002-01-17,12.570868
+2002-01-18,12.443216
+2002-01-22,12.279826
+2002-01-23,12.320672
+2002-01-24,12.259403
+2002-01-25,12.279826
+2002-01-28,12.433011
+2002-01-29,12.330886
+2002-01-30,12.453428
+2002-01-31,12.412580
+2003-01-02,15.551250
+2003-01-03,15.523823
+2003-01-06,15.545769
+2003-01-07,15.364743
+2003-01-08,15.276983
+2003-01-09,15.276983
+2003-01-10,15.117903
+2003-01-13,15.035618
+2003-01-14,14.936879
+2003-01-15,14.673580
+2003-01-16,14.898479
+2003-01-17,14.810711
+2003-01-21,14.821680
+2003-01-22,14.865576
+2003-01-23,14.942367
+2003-01-24,14.838145
+2003-01-27,14.706498
+2003-01-28,14.799747
+2003-01-29,15.002703
+2003-01-30,15.150814
+2003-01-31,15.381204
+2004-01-02,22.388512
+2004-01-05,22.417540
+2004-01-06,22.487236
+2004-01-07,22.359467
+2004-01-08,22.330427
+2004-01-09,22.313000
+2004-01-12,22.301395
+2004-01-13,22.434965
+2004-01-14,22.464014
+2004-01-15,22.678890
+2004-01-16,22.498857
+2004-01-20,22.690508
+2004-01-21,22.649858
+2004-01-22,22.719542
+2004-01-23,22.917009
+2004-01-26,23.346777
+2004-01-27,23.730072
+2004-01-28,23.904305
+2004-01-29,23.840418
+2004-01-30,23.979805
+2005-01-03,31.014290
+2005-01-04,30.583612
+2005-01-05,29.479643
+2005-01-06,29.691942
+2005-01-07,29.704081
+2005-01-10,29.710131
+2005-01-11,29.321938
+2005-01-12,29.091438
+2005-01-13,29.473577
+2005-01-14,29.425051
+2005-01-18,29.867851
+2005-01-19,30.013422
+2005-01-20,29.570633
+2005-01-21,29.516037
+2005-01-24,29.109629
+2005-01-25,28.399937
+2005-01-26,28.587976
+2005-01-27,28.205835
+2005-01-28,28.915520
+2005-01-31,28.618298
+2006-01-03,38.938789
+2006-01-04,39.494801
+2006-01-05,40.057121
+2006-01-06,40.594166
+2006-01-09,40.714191
+2006-01-10,41.169117
+2006-01-11,41.478695
+2006-01-12,41.630337
+2006-01-13,40.720524
+2006-01-17,41.086967
+2006-01-18,41.055389
+2006-01-19,42.205284
+2006-01-20,41.693516
+2006-01-23,41.977837
+2006-01-24,42.483276
+2006-01-25,42.205284
+2006-01-26,42.180012
+2006-01-27,42.205284
+2006-01-30,42.034702
+2006-01-31,42.217930
+2007-01-03,55.172165
+2007-01-04,54.492802
+2007-01-05,53.584820
+2007-01-08,53.519470
+2007-01-09,54.741016
+2007-01-10,55.348545
+2007-01-11,55.949528
+2007-01-12,56.034420
+2007-01-16,57.144951
+2007-01-17,56.988159
+2007-01-18,56.981632
+2007-01-19,57.928802
+2007-01-22,57.608727
+2007-01-23,58.039856
+2007-01-24,58.333824
+2007-01-25,59.444328
+2007-01-26,60.045296
+2007-01-29,59.320179
+2007-01-30,60.783443
+2007-01-31,61.025162
+2008-01-02,55.019215
+2008-01-03,52.983700
+2008-01-04,50.377178
+2008-01-07,50.692905
+2008-01-08,49.456818
+2008-01-09,48.496174
+2008-01-10,47.999046
+2008-01-11,47.696747
+2008-01-14,47.092148
+2008-01-15,44.861824
+2008-01-16,44.881958
+2008-01-17,44.579670
+2008-01-18,43.316719
+2008-01-22,44.102699
+2008-01-23,46.648758
+2008-01-24,47.972176
+2008-01-25,47.226505
+2008-01-28,48.912685
+2008-01-29,47.286964
+2008-01-30,47.280243
+2008-01-31,49.611336
+2009-01-02,41.829796
+2009-01-05,40.738651
+2009-01-06,42.456333
+2009-01-07,41.146942
+2009-01-08,41.900177
+2009-01-09,39.710854
+2009-01-12,36.923138
+2009-01-13,38.098763
+2009-01-14,36.655640
+2009-01-15,35.564472
+2009-01-16,37.190647
+2009-01-20,34.072067
+2009-01-21,35.951660
+2009-01-22,34.177666
+2009-01-23,35.142097
+2009-01-26,34.994263
+2009-01-27,36.261406
+2009-01-28,39.577103
+2009-01-29,37.204739
+2009-01-30,35.641926
+2010-01-04,49.470875
+2010-01-05,49.411831
+2010-01-06,49.278996
+2010-01-07,49.264236
+2010-01-08,48.954262
+2010-01-11,49.566822
+2010-01-12,48.718075
+2010-01-13,49.684921
+2010-01-14,49.485630
+2010-01-15,49.884178
+2010-01-19,51.116711
+2010-01-20,50.452488
+2010-01-21,49.433979
+2010-01-22,48.341671
+2010-01-25,48.437626
+2010-01-26,48.245735
+2010-01-27,48.024326
+2010-01-28,47.633163
+2010-01-29,47.515076
+2011-01-03,61.136284
+2011-01-04,59.898418
+2011-01-05,59.279499
+2011-01-06,58.996777
+2011-01-07,59.111382
+2011-01-10,58.950958
+2011-01-11,58.316711
+2011-01-12,58.179184
+2011-01-13,58.247936
+2011-01-14,58.736980
+2011-01-18,59.195446
+2011-01-19,58.660568
+2011-01-20,58.966198
+2011-01-21,59.233635
+2011-01-24,59.424671
+2011-01-25,60.540276
+2011-01-26,60.677834
+2011-01-27,61.510681
+2011-01-28,60.555542
+2011-01-31,61.457207
+2012-01-03,71.581627
+2012-01-04,70.382698
+2012-01-05,71.076828
+2012-01-06,70.958511
+2012-01-09,70.658783
+2012-01-10,72.031258
+2012-01-11,72.220573
+2012-01-12,71.447548
+2012-01-13,71.092621
+2012-01-17,71.581627
+2012-01-18,71.707870
+2012-01-19,72.346771
+2012-01-20,72.749046
+2012-01-23,73.159203
+2012-01-24,73.451057
+2012-01-25,74.279282
+2012-01-26,75.044380
+2012-01-27,75.052269
+2012-01-30,74.926064
+2012-01-31,74.508003
+2013-01-02,86.014557
+2013-01-03,85.344864
+2013-01-04,85.892052
+2013-01-07,86.333069
+2013-01-08,85.565361
+2013-01-09,85.867538
+2013-01-10,86.088058
+2013-01-11,86.145226
+2013-01-14,86.716927
+2013-01-15,86.782257
+2013-01-16,85.883881
+2013-01-17,85.614403
+2013-01-18,85.826706
+2013-01-22,86.333069
+2013-01-23,86.414742
+2013-01-24,86.194214
+2013-01-25,86.120712
+2013-01-28,86.308563
+2013-01-29,86.520920
+2013-01-30,86.863922
+2013-01-31,86.447403
+2014-01-02,86.134201
+2014-01-03,87.013466
+2014-01-06,88.148842
+2014-01-07,88.754921
+2014-01-08,88.328094
+2014-01-09,88.200050
+2014-01-10,89.446381
+2014-01-13,89.011009
+2014-01-14,89.770782
+2014-01-15,89.395164
+2014-01-16,89.207382
+2014-01-17,88.541527
+2014-01-21,89.582985
+2014-01-22,91.102478
+2014-01-23,91.947617
+2014-01-24,91.409805
+2014-01-27,90.957375
+2014-01-28,92.434189
+2014-01-29,92.331741
+2014-01-30,92.519569
+2014-01-31,93.048843
+2015-01-02,119.056297
+2015-01-05,120.670135
+2015-01-06,122.248917
+2015-01-07,124.810020
+2015-01-08,124.266205
+2015-01-09,124.380203
+2015-01-12,125.116966
+2015-01-13,124.450371
+2015-01-14,125.520424
+2015-01-15,125.406410
+2015-01-16,126.511559
+2015-01-20,125.564270
+2015-01-21,125.529198
+2015-01-22,127.774597
+2015-01-23,127.239540
+2015-01-26,129.704147
+2015-01-27,129.142822
+2015-01-28,128.713058
+2015-01-29,129.283173
+2015-01-30,126.099350
+2016-01-04,130.386353
+2016-01-05,131.898468
+2016-01-06,132.708557
+2016-01-07,130.539352
+2016-01-08,130.755402
+2016-01-11,131.628464
+2016-01-12,131.781448
+2016-01-13,132.141510
+2016-01-14,132.357559
+2016-01-15,132.078506
+2016-01-19,133.518646
+2016-01-20,130.971420
+2016-01-21,131.160416
+2016-01-22,135.273819
+2016-01-25,133.986664
+2016-01-26,135.147797
+2016-01-27,133.293610
+2016-01-28,133.059586
+2016-01-29,135.759872
+2017-01-03,132.404877
+2017-01-04,133.162048
+2017-01-05,134.149994
+2017-01-06,133.411331
+2017-01-09,131.740097
+2017-01-10,130.364365
+2017-01-11,129.053253
+2017-01-12,129.838074
+2017-01-13,129.431793
+2017-01-17,130.456680
+2017-01-18,130.678299
+2017-01-19,128.573105
+2017-01-20,129.930420
+2017-01-23,130.853729
+2017-01-24,130.152023
+2017-01-25,129.976578
+2017-01-26,130.004272
+2017-01-27,128.979401
+2017-01-30,128.471558
+2017-01-31,129.662643
+2018-01-02,127.401894
+2018-01-03,126.925606
+2018-01-04,122.439148
+2018-01-05,122.267715
+2018-01-08,123.744141
+2018-01-09,119.486290
+2018-01-10,117.962234
+2018-01-11,117.362137
+2018-01-12,116.981117
+2018-01-16,116.257202
+2018-01-17,116.971603
+2018-01-18,116.257202
+2018-01-19,116.790611
+2018-01-22,118.467087
+2018-01-23,118.819511
+2018-01-24,117.371666
+2018-01-25,117.314522
+2018-01-26,116.571533
+2018-01-29,115.380852
+2018-01-30,113.837746
+2018-01-31,115.066513
+2019-01-02,114.062614
+2019-01-03,114.830841
+2019-01-04,116.121086
+2019-01-07,117.618141
+2019-01-08,120.129669
+2019-01-09,120.119820
+2019-01-10,121.833565
+2019-01-11,121.547943
+2019-01-14,121.144135
+2019-01-15,122.424522
+2019-01-16,123.143501
+2019-01-17,123.704903
+2019-01-18,124.010223
+2019-01-22,124.394341
+2019-01-23,124.197357
+2019-01-24,124.778458
+2019-01-25,126.521751
+2019-01-28,127.536209
+2019-01-29,128.393082
+2019-01-30,129.456787
+2019-01-31,130.569748
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/GGP.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,490 @@
+Date,Adj Close
+1994-01-03,1.888216
+1994-01-04,1.876841
+1994-01-05,1.888216
+1994-01-06,1.876841
+1994-01-07,1.899589
+1994-01-10,1.933865
+1994-01-11,1.933865
+1994-01-12,1.980185
+1994-01-13,1.980185
+1994-01-14,1.968606
+1994-01-17,1.945446
+1994-01-18,1.968606
+1994-01-19,1.945446
+1994-01-20,1.922286
+1994-01-21,1.922286
+1994-01-24,1.922286
+1994-01-25,1.899126
+1994-01-26,1.922286
+1994-01-27,1.933865
+1994-01-28,1.945446
+1994-01-31,1.991766
+1995-01-03,2.193857
+1995-01-04,2.193857
+1995-01-05,2.206115
+1995-01-06,2.218371
+1995-01-09,2.206115
+1995-01-10,2.209610
+1995-01-11,2.159676
+1995-01-12,2.172159
+1995-01-13,2.159676
+1995-01-16,2.147192
+1995-01-17,2.147192
+1995-01-18,2.134708
+1995-01-19,2.109740
+1995-01-20,2.097257
+1995-01-23,2.084774
+1995-01-24,2.084774
+1995-01-25,2.097257
+1995-01-26,2.072291
+1995-01-27,2.072291
+1995-01-30,2.047323
+1995-01-31,2.059807
+1996-01-02,2.273806
+1996-01-03,2.273806
+1996-01-04,2.273806
+1996-01-05,2.273806
+1996-01-08,2.300875
+1996-01-09,2.287340
+1996-01-10,2.273806
+1996-01-11,2.273806
+1996-01-12,2.273806
+1996-01-15,2.314410
+1996-01-16,2.300875
+1996-01-17,2.341480
+1996-01-18,2.327945
+1996-01-19,2.355015
+1996-01-22,2.355015
+1996-01-23,2.327945
+1996-01-24,2.314410
+1996-01-25,2.314410
+1996-01-26,2.341480
+1996-01-29,2.314410
+1996-01-30,2.327945
+1996-01-31,2.327945
+1997-01-02,3.676819
+1997-01-03,3.705770
+1997-01-06,3.705770
+1997-01-07,3.676819
+1997-01-08,3.691296
+1997-01-09,3.705770
+1997-01-10,3.662345
+1997-01-13,3.705770
+1997-01-14,3.691296
+1997-01-15,3.705770
+1997-01-16,3.691296
+1997-01-17,3.691296
+1997-01-20,3.662345
+1997-01-21,3.691296
+1997-01-22,3.691296
+1997-01-23,3.691296
+1997-01-24,3.676819
+1997-01-27,3.691296
+1997-01-28,3.662345
+1997-01-29,3.633393
+1997-01-30,3.647868
+1997-01-31,3.647868
+1998-01-02,4.385540
+1998-01-05,4.377913
+1998-01-06,4.400792
+1998-01-07,4.377913
+1998-01-08,4.385540
+1998-01-09,4.309271
+1998-01-12,4.294015
+1998-01-13,4.355034
+1998-01-14,4.332151
+1998-01-15,4.271134
+1998-01-16,4.278760
+1998-01-20,4.286388
+1998-01-21,4.271134
+1998-01-22,4.271134
+1998-01-23,4.255881
+1998-01-26,4.255881
+1998-01-27,4.324523
+1998-01-28,4.316898
+1998-01-29,4.393167
+1998-01-30,4.499947
+1999-01-04,4.912410
+1999-01-05,4.920436
+1999-01-06,4.912410
+1999-01-07,4.848197
+1999-01-08,4.783982
+1999-01-11,4.719767
+1999-01-12,4.703714
+1999-01-13,4.615418
+1999-01-14,4.615418
+1999-01-15,4.575283
+1999-01-19,4.615418
+1999-01-20,4.607391
+1999-01-21,4.559232
+1999-01-22,4.639500
+1999-01-25,4.607391
+1999-01-26,4.599366
+1999-01-27,4.559232
+1999-01-28,4.511071
+1999-01-29,4.446854
+2000-01-03,3.751429
+2000-01-04,3.667314
+2000-01-05,3.692957
+2000-01-06,3.821185
+2000-01-07,3.906670
+2000-01-10,3.906670
+2000-01-11,3.906670
+2000-01-12,3.898122
+2000-01-13,3.898122
+2000-01-14,3.915220
+2000-01-18,3.957962
+2000-01-19,3.949414
+2000-01-20,3.940866
+2000-01-21,3.932315
+2000-01-24,3.915220
+2000-01-25,3.923768
+2000-01-26,3.966511
+2000-01-27,3.898122
+2000-01-28,3.949414
+2000-01-31,3.898122
+2001-01-02,5.161852
+2001-01-03,5.321121
+2001-01-04,5.284674
+2001-01-05,5.312008
+2001-01-08,5.403123
+2001-01-09,5.412237
+2001-01-10,5.457793
+2001-01-11,5.539796
+2001-01-12,5.503351
+2001-01-16,5.512462
+2001-01-17,5.512462
+2001-01-18,5.457793
+2001-01-19,5.485128
+2001-01-22,5.503351
+2001-01-23,5.503351
+2001-01-24,5.485128
+2001-01-25,5.530686
+2001-01-26,5.512462
+2001-01-29,5.497518
+2001-01-30,5.504807
+2001-01-31,5.541256
+2002-01-02,5.916624
+2002-01-03,5.993029
+2002-01-04,6.028173
+2002-01-07,6.051095
+2002-01-08,6.061790
+2002-01-09,6.020534
+2002-01-10,6.110644
+2002-01-11,6.137057
+2002-01-14,6.160364
+2002-01-15,6.152595
+2002-01-16,6.214741
+2002-01-17,6.239601
+2002-01-18,6.220956
+2002-01-22,6.253584
+2002-01-23,6.269119
+2002-01-24,6.273784
+2002-01-25,6.272230
+2002-01-28,6.290873
+2002-01-29,6.284657
+2002-01-30,6.279998
+2002-01-31,6.292425
+2003-01-02,8.439610
+2003-01-03,8.475733
+2003-01-06,8.546335
+2003-01-07,8.349303
+2003-01-08,8.232727
+2003-01-09,8.214664
+2003-01-10,8.124358
+2003-01-13,8.089880
+2003-01-14,8.012705
+2003-01-15,8.078385
+2003-01-16,7.999572
+2003-01-17,7.963446
+2003-01-21,8.002854
+2003-01-22,8.053753
+2003-01-23,8.060323
+2003-01-24,8.012705
+2003-01-27,7.925681
+2003-01-28,7.971656
+2003-01-29,8.040619
+2003-01-30,8.045546
+2003-01-31,8.127637
+2004-01-02,14.132079
+2004-01-05,14.157638
+2004-01-06,14.229191
+2004-01-07,14.014526
+2004-01-08,14.080968
+2004-01-09,14.101414
+2004-01-12,14.183188
+2004-01-13,14.260694
+2004-01-14,14.240026
+2004-01-15,14.312363
+2004-01-16,14.209028
+2004-01-20,14.250360
+2004-01-21,14.415704
+2004-01-22,14.338197
+2004-01-23,14.720549
+2004-01-26,15.087403
+2004-01-27,15.345751
+2004-01-28,15.118411
+2004-01-29,15.268245
+2004-01-30,15.500761
+2005-01-03,18.824976
+2005-01-04,18.521000
+2005-01-05,17.886395
+2005-01-06,17.913065
+2005-01-07,18.195698
+2005-01-10,17.897062
+2005-01-11,17.758404
+2005-01-12,17.650585
+2005-01-13,17.968653
+2005-01-14,17.909351
+2005-01-18,18.060303
+2005-01-19,18.335251
+2005-01-20,18.081869
+2005-01-21,17.925529
+2005-01-24,17.709879
+2005-01-25,17.159988
+2005-01-26,17.133036
+2005-01-27,17.057560
+2005-01-28,17.251638
+2005-01-31,17.127642
+2006-01-03,26.785549
+2006-01-04,27.096237
+2006-01-05,27.429110
+2006-01-06,27.589996
+2006-01-09,27.739805
+2006-01-10,28.266865
+2006-01-11,28.400019
+2006-01-12,28.461531
+2006-01-13,27.723291
+2006-01-17,27.779219
+2006-01-18,27.678545
+2006-01-19,27.863110
+2006-01-20,27.650581
+2006-01-23,27.818369
+2006-01-24,27.885475
+2006-01-25,27.907843
+2006-01-26,28.098007
+2006-01-27,28.752346
+2006-01-30,28.808277
+2006-01-31,28.858612
+2007-01-03,29.937994
+2007-01-04,30.058668
+2007-01-05,29.598972
+2007-01-08,29.892019
+2007-01-09,30.782701
+2007-01-10,31.633135
+2007-01-11,31.834251
+2007-01-12,31.776331
+2007-01-16,32.344074
+2007-01-17,32.448349
+2007-01-18,32.245594
+2007-01-19,32.552628
+2007-01-22,32.824913
+2007-01-23,33.253628
+2007-01-24,33.850330
+2007-01-25,34.168964
+2007-01-26,34.539738
+2007-01-29,34.672985
+2007-01-30,35.177006
+2007-01-31,35.640461
+2008-01-02,24.103403
+2008-01-03,22.809189
+2008-01-04,21.764311
+2008-01-07,21.366541
+2008-01-08,20.125755
+2008-01-09,20.286049
+2008-01-10,19.906092
+2008-01-11,20.440405
+2008-01-14,19.995140
+2008-01-15,19.229807
+2008-01-16,20.248247
+2008-01-17,20.127722
+2008-01-18,19.802301
+2008-01-22,20.748426
+2008-01-23,22.725042
+2008-01-24,21.947653
+2008-01-25,21.543894
+2008-01-28,22.164595
+2008-01-29,21.875336
+2008-01-30,21.875336
+2008-01-31,22.001883
+2009-01-02,0.882532
+2009-01-05,0.839027
+2009-01-06,0.994403
+2009-01-07,1.230573
+2009-01-08,1.298938
+2009-01-09,1.137348
+2009-01-12,0.919823
+2009-01-13,0.907392
+2009-01-14,0.814167
+2009-01-15,0.733372
+2009-01-16,0.720942
+2009-01-20,0.689867
+2009-01-21,0.758232
+2009-01-22,0.640147
+2009-01-23,0.665006
+2009-01-26,0.640147
+2009-01-27,0.528276
+2009-01-28,0.546921
+2009-01-29,0.441266
+2009-01-30,0.403976
+2010-01-04,7.273471
+2010-01-05,7.684581
+2010-01-06,7.615005
+2010-01-07,7.709878
+2010-01-08,7.811075
+2010-01-11,7.640306
+2010-01-12,7.090051
+2010-01-13,6.931934
+2010-01-14,6.830737
+2010-01-15,6.944582
+2010-01-19,6.925611
+2010-01-20,6.957232
+2010-01-21,6.893985
+2010-01-22,6.514499
+2010-01-25,6.476551
+2010-01-26,6.261510
+2010-01-27,6.210911
+2010-01-28,6.103389
+2010-01-29,5.882023
+2011-01-03,12.566391
+2011-01-04,12.246840
+2011-01-05,12.310746
+2011-01-06,11.927285
+2011-01-07,11.999185
+2011-01-10,11.975220
+2011-01-11,11.775498
+2011-01-12,11.823430
+2011-01-13,11.831423
+2011-01-14,12.063096
+2011-01-18,11.855388
+2011-01-19,11.583767
+2011-01-20,11.527844
+2011-01-21,11.463935
+2011-01-24,11.719578
+2011-01-25,11.863377
+2011-01-26,11.887344
+2011-01-27,11.983209
+2011-01-28,11.639688
+2011-01-31,11.831423
+2012-01-03,12.515889
+2012-01-04,12.220240
+2012-01-05,12.318788
+2012-01-06,12.162753
+2012-01-09,12.129901
+2012-01-10,12.236665
+2012-01-11,12.294150
+2012-01-12,12.187388
+2012-01-13,12.464766
+2012-01-17,12.726738
+2012-01-18,12.887301
+2012-01-19,12.752092
+2012-01-20,13.191525
+2012-01-23,12.988708
+2012-01-24,13.208427
+2012-01-25,13.360540
+2012-01-26,13.461948
+2012-01-27,13.487300
+2012-01-30,13.326740
+2012-01-31,13.335185
+2013-01-02,17.333729
+2013-01-03,16.823656
+2013-01-04,16.659399
+2013-01-07,16.633465
+2013-01-08,16.676693
+2013-01-09,16.616175
+2013-01-10,16.529720
+2013-01-11,16.538359
+2013-01-14,16.529720
+2013-01-15,16.693979
+2013-01-16,16.797722
+2013-01-17,16.797722
+2013-01-18,16.763144
+2013-01-22,16.840946
+2013-01-23,16.858240
+2013-01-24,16.737207
+2013-01-25,17.013855
+2013-01-28,16.884172
+2013-01-29,17.048429
+2013-01-30,17.117594
+2013-01-31,16.875528
+2014-01-02,17.759224
+2014-01-03,17.909872
+2014-01-06,17.927595
+2014-01-07,18.007355
+2014-01-08,17.883289
+2014-01-09,17.830118
+2014-01-10,18.193455
+2014-01-13,18.051666
+2014-01-14,18.166868
+2014-01-15,18.335241
+2014-01-16,18.184589
+2014-01-17,18.087111
+2014-01-21,18.104834
+2014-01-22,18.060526
+2014-01-23,17.856705
+2014-01-24,17.378162
+2014-01-27,17.316126
+2014-01-28,17.413609
+2014-01-29,17.351576
+2014-01-30,17.714909
+2014-01-31,17.847839
+2015-01-02,25.967087
+2015-01-05,26.139896
+2015-01-06,26.512804
+2015-01-07,27.113092
+2015-01-08,27.358667
+2015-01-09,27.449619
+2015-01-12,27.640623
+2015-01-13,27.467813
+2015-01-14,27.722477
+2015-01-15,27.622433
+2015-01-16,27.677006
+2015-01-20,27.558764
+2015-01-21,27.622433
+2015-01-22,28.386438
+2015-01-23,28.240910
+2015-01-26,28.613819
+2015-01-27,28.504677
+2015-01-28,28.386438
+2015-01-29,28.140863
+2015-01-30,27.449619
+2016-01-04,24.941437
+2016-01-05,25.557737
+2016-01-06,25.791180
+2016-01-07,25.146868
+2016-01-08,24.446526
+2016-01-11,24.157057
+2016-01-12,24.054338
+2016-01-13,24.091688
+2016-01-14,24.091688
+2016-01-15,25.240248
+2016-01-19,24.670637
+2016-01-20,23.951620
+2016-01-21,24.595936
+2016-01-22,25.034813
+2016-01-25,25.137531
+2016-01-26,25.539061
+2016-01-27,25.342964
+2016-01-28,25.735153
+2016-01-29,26.183372
+2017-01-03,24.634794
+2017-01-04,25.227118
+2017-01-05,25.246536
+2017-01-06,25.246536
+2017-01-09,24.809578
+2017-01-10,24.314358
+2017-01-11,24.207546
+2017-01-12,24.178413
+2017-01-13,24.100733
+2017-01-17,24.207546
+2017-01-18,24.372618
+2017-01-19,23.916237
+2017-01-20,24.265804
+2017-01-23,24.877548
+2017-01-24,24.518270
+2017-01-25,24.061892
+2017-01-26,23.964790
+2017-01-27,23.964790
+2017-01-30,23.187971
+2017-01-31,24.120153
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/GOOG.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,304 @@
+Date,Adj Close
+2005-01-03,100.976517
+2005-01-04,96.886841
+2005-01-05,96.393692
+2005-01-06,93.922951
+2005-01-07,96.563057
+2005-01-10,97.165802
+2005-01-11,96.408638
+2005-01-12,97.325203
+2005-01-13,97.300293
+2005-01-14,99.611633
+2005-01-18,101.569290
+2005-01-19,98.281616
+2005-01-20,96.597931
+2005-01-21,93.788460
+2005-01-24,90.022575
+2005-01-25,88.229294
+2005-01-26,94.266663
+2005-01-27,93.688828
+2005-01-28,94.814613
+2005-01-31,97.444756
+2006-01-03,216.802368
+2006-01-04,221.788681
+2006-01-05,224.777481
+2006-01-06,231.960556
+2006-01-09,232.578247
+2006-01-10,234.002899
+2006-01-11,234.934402
+2006-01-12,230.949341
+2006-01-13,232.254456
+2006-01-17,232.682846
+2006-01-18,221.624298
+2006-01-19,217.410095
+2006-01-20,198.984161
+2006-01-23,212.951797
+2006-01-24,220.687805
+2006-01-25,215.691528
+2006-01-26,216.324158
+2006-01-27,215.935623
+2006-01-30,212.613068
+2006-01-31,215.522171
+2007-01-03,232.921951
+2007-01-04,240.727692
+2007-01-05,242.685349
+2007-01-08,240.887100
+2007-01-09,241.843506
+2007-01-10,243.816116
+2007-01-11,248.926956
+2007-01-12,251.557098
+2007-01-16,251.198441
+2007-01-17,247.711517
+2007-01-18,243.004166
+2007-01-19,243.960571
+2007-01-22,239.522217
+2007-01-23,238.630554
+2007-01-24,248.603180
+2007-01-25,243.133682
+2007-01-26,246.994202
+2007-01-29,245.315491
+2007-01-30,246.237045
+2007-01-31,249.813644
+2008-01-02,341.315674
+2008-01-03,341.385406
+2008-01-04,327.273285
+2008-01-07,323.412781
+2008-01-08,314.660583
+2008-01-09,325.380402
+2008-01-10,322.157471
+2008-01-11,317.933319
+2008-01-14,325.689240
+2008-01-15,317.634430
+2008-01-16,306.824951
+2008-01-17,299.273254
+2008-01-18,299.004272
+2008-01-22,291.083954
+2008-01-23,273.285645
+2008-01-24,286.172363
+2008-01-25,282.142456
+2008-01-28,276.951904
+2008-01-29,274.232117
+2008-01-30,273.111298
+2008-01-31,281.096375
+2009-01-02,160.060059
+2009-01-05,163.412491
+2009-01-06,166.406265
+2009-01-07,160.403763
+2009-01-08,161.987823
+2009-01-09,156.946732
+2009-01-12,155.761169
+2009-01-13,156.573120
+2009-01-14,149.923050
+2009-01-15,148.936752
+2009-01-16,149.275482
+2009-01-20,140.847076
+2009-01-21,150.974106
+2009-01-22,152.677719
+2009-01-23,161.743744
+2009-01-26,161.330292
+2009-01-27,165.121078
+2009-01-28,173.683990
+2009-01-29,171.018982
+2009-01-30,168.632919
+2010-01-04,312.204773
+2010-01-05,310.829926
+2010-01-06,302.994293
+2010-01-07,295.940735
+2010-01-08,299.885956
+2010-01-11,299.432648
+2010-01-12,294.137512
+2010-01-13,292.448822
+2010-01-14,293.823669
+2010-01-15,288.917053
+2010-01-19,292.712830
+2010-01-20,289.121307
+2010-01-21,290.401489
+2010-01-22,273.978058
+2010-01-25,268.991760
+2010-01-26,270.197235
+2010-01-27,270.037842
+2010-01-28,266.147400
+2010-01-29,263.980530
+2011-01-03,301.046600
+2011-01-04,299.935760
+2011-01-05,303.397797
+2011-01-06,305.604523
+2011-01-07,307.069031
+2011-01-10,305.958191
+2011-01-11,306.854828
+2011-01-12,307.283234
+2011-01-13,307.193573
+2011-01-14,310.924591
+2011-01-18,318.620728
+2011-01-19,314.695435
+2011-01-20,312.214752
+2011-01-21,304.772644
+2011-01-24,304.399048
+2011-01-25,308.797546
+2011-01-26,307.098907
+2011-01-27,307.243378
+2011-01-28,299.372864
+2011-01-31,299.059052
+2012-01-03,331.462585
+2012-01-04,332.892242
+2012-01-05,328.274536
+2012-01-06,323.796326
+2012-01-09,310.067780
+2012-01-10,310.406525
+2012-01-11,311.811249
+2012-01-12,313.644379
+2012-01-13,311.328064
+2012-01-17,313.116364
+2012-01-18,315.273285
+2012-01-19,318.590851
+2012-01-20,291.900879
+2012-01-23,291.666748
+2012-01-24,289.380341
+2012-01-25,283.681702
+2012-01-26,282.989288
+2012-01-27,288.907104
+2012-01-30,287.766388
+2012-01-31,288.971863
+2013-01-02,360.274597
+2013-01-03,360.483826
+2013-01-04,367.607117
+2013-01-07,366.003143
+2013-01-08,365.280823
+2013-01-09,367.681824
+2013-01-10,369.355560
+2013-01-11,368.613342
+2013-01-14,360.274597
+2013-01-15,361.111481
+2013-01-16,356.259644
+2013-01-17,354.331879
+2013-01-18,350.939606
+2013-01-22,350.122650
+2013-01-23,369.365540
+2013-01-24,375.696808
+2013-01-25,375.427795
+2013-01-28,373.963287
+2013-01-29,375.432800
+2013-01-30,375.507507
+2013-01-31,376.434021
+2014-01-02,554.481689
+2014-01-03,550.436829
+2014-01-06,556.573853
+2014-01-07,567.303589
+2014-01-08,568.484192
+2014-01-09,563.009705
+2014-01-10,562.979797
+2014-01-13,559.393250
+2014-01-14,572.553955
+2014-01-15,572.165405
+2014-01-16,575.951172
+2014-01-17,573.116821
+2014-01-21,579.677246
+2014-01-22,580.334778
+2014-01-23,577.883972
+2014-01-24,559.816650
+2014-01-27,548.558838
+2014-01-28,559.408203
+2014-01-29,551.393250
+2014-01-30,565.575073
+2014-01-31,588.279968
+2015-01-02,523.373108
+2015-01-05,512.463013
+2015-01-06,500.585632
+2015-01-07,499.727997
+2015-01-08,501.303680
+2015-01-09,494.811493
+2015-01-12,491.201416
+2015-01-13,494.821472
+2015-01-14,499.498627
+2015-01-15,500.416107
+2015-01-16,506.688873
+2015-01-20,505.512115
+2015-01-21,516.621643
+2015-01-22,532.926819
+2015-01-23,538.471619
+2015-01-26,533.744629
+2015-01-27,517.210022
+2015-01-28,508.603638
+2015-01-29,509.261810
+2015-01-30,533.056519
+2016-01-04,741.840027
+2016-01-05,742.580017
+2016-01-06,743.619995
+2016-01-07,726.390015
+2016-01-08,714.469971
+2016-01-11,716.030029
+2016-01-12,726.070007
+2016-01-13,700.559998
+2016-01-14,714.719971
+2016-01-15,694.450012
+2016-01-19,701.789978
+2016-01-20,698.450012
+2016-01-21,706.590027
+2016-01-22,725.250000
+2016-01-25,711.669983
+2016-01-26,713.039978
+2016-01-27,699.989990
+2016-01-28,730.960022
+2016-01-29,742.950012
+2017-01-03,786.140015
+2017-01-04,786.900024
+2017-01-05,794.020020
+2017-01-06,806.150024
+2017-01-09,806.650024
+2017-01-10,804.789978
+2017-01-11,807.909973
+2017-01-12,806.359985
+2017-01-13,807.880005
+2017-01-17,804.609985
+2017-01-18,806.070007
+2017-01-19,802.174988
+2017-01-20,805.020020
+2017-01-23,819.309998
+2017-01-24,823.869995
+2017-01-25,835.669983
+2017-01-26,832.150024
+2017-01-27,823.309998
+2017-01-30,802.320007
+2017-01-31,796.789978
+2018-01-02,1065.000000
+2018-01-03,1082.479980
+2018-01-04,1086.400024
+2018-01-05,1102.229980
+2018-01-08,1106.939941
+2018-01-09,1106.260010
+2018-01-10,1102.609985
+2018-01-11,1105.520020
+2018-01-12,1122.260010
+2018-01-16,1121.760010
+2018-01-17,1131.979980
+2018-01-18,1129.790039
+2018-01-19,1137.510010
+2018-01-22,1155.810059
+2018-01-23,1169.969971
+2018-01-24,1164.239990
+2018-01-25,1170.369995
+2018-01-26,1175.839966
+2018-01-29,1175.579956
+2018-01-30,1163.689941
+2018-01-31,1169.939941
+2019-01-02,1045.849976
+2019-01-03,1016.059998
+2019-01-04,1070.709961
+2019-01-07,1068.390015
+2019-01-08,1076.280029
+2019-01-09,1074.660034
+2019-01-10,1070.329956
+2019-01-11,1057.189941
+2019-01-14,1044.689941
+2019-01-15,1077.150024
+2019-01-16,1080.969971
+2019-01-17,1089.900024
+2019-01-18,1098.260010
+2019-01-22,1070.520020
+2019-01-23,1075.569946
+2019-01-24,1073.900024
+2019-01-25,1090.989990
+2019-01-28,1070.079956
+2019-01-29,1060.619995
+2019-01-30,1089.060059
+2019-01-31,1116.369995
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/HCP.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,702 @@
+Date,Adj Close
+1986-01-02,0.318122
+1986-01-03,0.316262
+1986-01-06,0.321843
+1986-01-07,0.323703
+1986-01-08,0.321843
+1986-01-09,0.314401
+1986-01-10,0.312541
+1986-01-13,0.305099
+1986-01-14,0.310680
+1986-01-15,0.308820
+1986-01-16,0.306960
+1986-01-17,0.301378
+1986-01-20,0.306960
+1986-01-21,0.308820
+1986-01-22,0.306960
+1986-01-23,0.310680
+1986-01-24,0.321843
+1986-01-27,0.331144
+1986-01-28,0.374390
+1986-01-29,0.374390
+1986-01-30,0.380664
+1986-01-31,0.374390
+1987-01-02,0.645202
+1987-01-05,0.653510
+1987-01-06,0.661817
+1987-01-07,0.659048
+1987-01-08,0.650740
+1987-01-09,0.642433
+1987-01-12,0.639664
+1987-01-13,0.645202
+1987-01-14,0.661817
+1987-01-15,0.659048
+1987-01-16,0.653510
+1987-01-19,0.659048
+1987-01-20,0.645202
+1987-01-21,0.645202
+1987-01-22,0.645202
+1987-01-23,0.642433
+1987-01-26,0.647972
+1987-01-27,0.658714
+1987-01-28,0.641752
+1987-01-29,0.624789
+1987-01-30,0.624789
+1988-01-04,0.667410
+1988-01-05,0.679545
+1988-01-06,0.673478
+1988-01-07,0.667410
+1988-01-08,0.667410
+1988-01-11,0.667410
+1988-01-12,0.655276
+1988-01-13,0.649208
+1988-01-14,0.670444
+1988-01-15,0.673478
+1988-01-18,0.664377
+1988-01-19,0.661343
+1988-01-20,0.655276
+1988-01-21,0.658309
+1988-01-22,0.667410
+1988-01-25,0.673478
+1988-01-26,0.664377
+1988-01-27,0.670444
+1988-01-28,0.673478
+1988-01-29,0.673478
+1989-01-03,0.686947
+1989-01-04,0.683596
+1989-01-05,0.686947
+1989-01-06,0.686947
+1989-01-09,0.680245
+1989-01-10,0.683596
+1989-01-11,0.686947
+1989-01-12,0.690298
+1989-01-13,0.693649
+1989-01-16,0.703702
+1989-01-17,0.700351
+1989-01-18,0.700351
+1989-01-19,0.707053
+1989-01-20,0.710404
+1989-01-23,0.703702
+1989-01-24,0.703702
+1989-01-25,0.700351
+1989-01-26,0.695256
+1989-01-27,0.698698
+1989-01-30,0.702140
+1989-01-31,0.688373
+1990-01-02,0.947185
+1990-01-03,0.939756
+1990-01-04,0.943470
+1990-01-05,0.936041
+1990-01-08,0.950899
+1990-01-09,0.939756
+1990-01-10,0.936041
+1990-01-11,0.947185
+1990-01-12,0.939756
+1990-01-15,0.936041
+1990-01-16,0.936041
+1990-01-17,0.936041
+1990-01-18,0.943470
+1990-01-19,0.947185
+1990-01-22,0.943470
+1990-01-23,0.928612
+1990-01-24,0.921183
+1990-01-25,0.921183
+1990-01-26,0.921183
+1990-01-29,0.913754
+1990-01-30,0.898226
+1990-01-31,0.879196
+1991-01-02,1.105563
+1991-01-03,1.109657
+1991-01-04,1.097373
+1991-01-07,1.097373
+1991-01-08,1.097373
+1991-01-09,1.105563
+1991-01-10,1.105563
+1991-01-11,1.105563
+1991-01-14,1.097373
+1991-01-15,1.105563
+1991-01-16,1.101467
+1991-01-17,1.105563
+1991-01-18,1.101467
+1991-01-21,1.097373
+1991-01-22,1.105563
+1991-01-23,1.105563
+1991-01-24,1.121941
+1991-01-25,1.126036
+1991-01-28,1.134226
+1991-01-29,1.146509
+1991-01-30,1.172984
+1991-01-31,1.181364
+1992-01-02,1.696978
+1992-01-03,1.647984
+1992-01-06,1.679163
+1992-01-07,1.728155
+1992-01-08,1.710340
+1992-01-09,1.719249
+1992-01-10,1.723702
+1992-01-13,1.723702
+1992-01-14,1.754880
+1992-01-15,1.728155
+1992-01-16,1.754880
+1992-01-17,1.790512
+1992-01-20,1.781604
+1992-01-21,1.748626
+1992-01-22,1.721446
+1992-01-23,1.739565
+1992-01-24,1.721446
+1992-01-27,1.739565
+1992-01-28,1.748626
+1992-01-29,1.730505
+1992-01-30,1.730505
+1992-01-31,1.716915
+1993-01-04,1.975215
+1993-01-05,1.927272
+1993-01-06,1.840977
+1993-01-07,1.936862
+1993-01-08,1.917685
+1993-01-11,1.908097
+1993-01-12,1.927272
+1993-01-13,1.965627
+1993-01-14,1.994393
+1993-01-15,2.003980
+1993-01-18,2.003980
+1993-01-19,2.003980
+1993-01-20,2.023158
+1993-01-21,2.032746
+1993-01-22,2.051922
+1993-01-25,2.051922
+1993-01-26,2.023158
+1993-01-27,2.061510
+1993-01-28,2.067362
+1993-01-29,2.106369
+1994-01-03,2.245677
+1994-01-04,2.255884
+1994-01-05,2.266092
+1994-01-06,2.266092
+1994-01-07,2.266092
+1994-01-10,2.266092
+1994-01-11,2.266092
+1994-01-12,2.225262
+1994-01-13,2.347752
+1994-01-14,2.368169
+1994-01-17,2.388583
+1994-01-18,2.429413
+1994-01-19,2.388583
+1994-01-20,2.347752
+1994-01-21,2.337545
+1994-01-24,2.368169
+1994-01-25,2.337545
+1994-01-26,2.337545
+1994-01-27,2.378376
+1994-01-28,2.355958
+1994-01-31,2.387093
+1995-01-03,2.729234
+1995-01-04,2.729234
+1995-01-05,2.672612
+1995-01-06,2.649962
+1995-01-09,2.649962
+1995-01-10,2.627315
+1995-01-11,2.638638
+1995-01-12,2.627315
+1995-01-13,2.661288
+1995-01-16,2.661288
+1995-01-17,2.628546
+1995-01-18,2.617017
+1995-01-19,2.674660
+1995-01-20,2.640073
+1995-01-23,2.617017
+1995-01-24,2.640073
+1995-01-25,2.605488
+1995-01-26,2.593959
+1995-01-27,2.605488
+1995-01-30,2.617017
+1995-01-31,2.628546
+1996-01-02,3.396233
+1996-01-03,3.408363
+1996-01-04,3.371974
+1996-01-05,3.396233
+1996-01-08,3.396233
+1996-01-09,3.371974
+1996-01-10,3.371974
+1996-01-11,3.371974
+1996-01-12,3.335586
+1996-01-15,3.347716
+1996-01-16,3.371974
+1996-01-17,3.384104
+1996-01-18,3.420492
+1996-01-19,3.396233
+1996-01-22,3.384104
+1996-01-23,3.396233
+1996-01-24,3.396233
+1996-01-25,3.384104
+1996-01-26,3.371974
+1996-01-29,3.396233
+1996-01-30,3.420492
+1996-01-31,3.444750
+1997-01-02,3.624936
+1997-01-03,3.637929
+1997-01-06,3.624936
+1997-01-07,3.780848
+1997-01-08,3.767853
+1997-01-09,3.741869
+1997-01-10,3.728878
+1997-01-13,3.754863
+1997-01-14,3.806832
+1997-01-15,3.858802
+1997-01-16,3.819826
+1997-01-17,3.832817
+1997-01-20,3.832817
+1997-01-21,3.858802
+1997-01-22,3.832817
+1997-01-23,3.793840
+1997-01-24,3.806832
+1997-01-27,3.793840
+1997-01-28,3.767853
+1997-01-29,3.741869
+1997-01-30,3.765651
+1997-01-31,3.699587
+1998-01-02,4.260040
+1998-01-05,4.239157
+1998-01-06,4.246116
+1998-01-07,4.260040
+1998-01-08,4.266997
+1998-01-09,4.246116
+1998-01-12,4.232197
+1998-01-13,4.266997
+1998-01-14,4.308764
+1998-01-15,4.364454
+1998-01-16,4.371412
+1998-01-20,4.329646
+1998-01-21,4.371412
+1998-01-22,4.301804
+1998-01-23,4.280921
+1998-01-26,4.273960
+1998-01-27,4.266997
+1998-01-28,4.301804
+1998-01-29,4.350530
+1998-01-30,4.322686
+1999-01-04,3.762110
+1999-01-05,3.747122
+1999-01-06,3.694661
+1999-01-07,3.619718
+1999-01-08,3.649697
+1999-01-11,3.567260
+1999-01-12,3.537283
+1999-01-13,3.582247
+1999-01-14,3.597236
+1999-01-15,3.597236
+1999-01-19,3.649697
+1999-01-20,3.627213
+1999-01-21,3.597236
+1999-01-22,3.589741
+1999-01-25,3.582247
+1999-01-26,3.582247
+1999-01-27,3.537283
+1999-01-28,3.537283
+1999-01-29,3.552272
+2000-01-03,3.167652
+2000-01-04,3.159379
+2000-01-05,3.217274
+2000-01-06,3.333064
+2000-01-07,3.407501
+2000-01-10,3.424041
+2000-01-11,3.382688
+2000-01-12,3.415769
+2000-01-13,3.440581
+2000-01-14,3.415769
+2000-01-18,3.333064
+2000-01-19,3.390957
+2000-01-20,3.407501
+2000-01-21,3.440581
+2000-01-24,3.382688
+2000-01-25,3.407501
+2000-01-26,3.407501
+2000-01-27,3.432312
+2000-01-28,3.349604
+2000-01-31,3.382688
+2001-01-02,4.350152
+2001-01-03,4.515698
+2001-01-04,4.552485
+2001-01-05,4.524894
+2001-01-08,4.672043
+2001-01-09,4.662847
+2001-01-10,4.690438
+2001-01-11,4.699636
+2001-01-12,4.690438
+2001-01-16,4.699636
+2001-01-17,4.699636
+2001-01-18,4.718028
+2001-01-19,4.727226
+2001-01-22,4.718028
+2001-01-23,4.745621
+2001-01-24,4.754816
+2001-01-25,4.745621
+2001-01-26,4.690438
+2001-01-29,4.722079
+2001-01-30,4.729434
+2001-01-31,4.670572
+2002-01-02,5.873275
+2002-01-03,5.919930
+2002-01-04,5.927970
+2002-01-07,5.952104
+2002-01-08,5.940839
+2002-01-09,5.942448
+2002-01-10,5.945667
+2002-01-11,5.976232
+2002-01-14,6.006795
+2002-01-15,6.109753
+2002-01-16,6.075968
+2002-01-17,6.048624
+2002-01-18,6.030928
+2002-01-22,6.047014
+2002-01-23,6.032536
+2002-01-24,6.016449
+2002-01-25,6.116186
+2002-01-28,6.177318
+2002-01-29,6.164446
+2002-01-30,6.191793
+2002-01-31,6.237795
+2003-01-02,6.626633
+2003-01-03,6.769329
+2003-01-06,6.842414
+2003-01-07,6.751927
+2003-01-08,6.711900
+2003-01-09,6.684059
+2003-01-10,6.652734
+2003-01-13,6.699718
+2003-01-14,6.696238
+2003-01-15,6.677099
+2003-01-16,6.586607
+2003-01-17,6.541364
+2003-01-21,6.534401
+2003-01-22,6.436951
+2003-01-23,6.429991
+2003-01-24,6.403889
+2003-01-27,6.168961
+2003-01-28,6.081955
+2003-01-29,6.247271
+2003-01-30,6.308176
+2003-01-31,6.410849
+2004-01-02,9.548736
+2004-01-05,9.605344
+2004-01-06,9.752539
+2004-01-07,9.711024
+2004-01-08,9.680827
+2004-01-09,9.812928
+2004-01-12,9.869542
+2004-01-13,9.982765
+2004-01-14,10.020508
+2004-01-15,9.937474
+2004-01-16,9.812928
+2004-01-20,9.763863
+2004-01-21,9.937474
+2004-01-22,10.245074
+2004-01-23,10.105428
+2004-01-26,10.275268
+2004-01-27,10.558332
+2004-01-28,10.547009
+2004-01-29,10.473414
+2004-01-30,10.611169
+2005-01-03,11.048314
+2005-01-04,10.895369
+2005-01-05,10.525084
+2005-01-06,10.609605
+2005-01-07,10.537158
+2005-01-10,10.468737
+2005-01-11,10.255418
+2005-01-12,10.178939
+2005-01-13,10.303713
+2005-01-14,10.420437
+2005-01-18,10.553256
+2005-01-19,10.573377
+2005-01-20,10.525084
+2005-01-21,10.613628
+2005-01-24,10.541182
+2005-01-25,10.384207
+2005-01-26,10.396284
+2005-01-27,10.327864
+2005-01-28,10.271511
+2005-01-31,10.448610
+2006-01-03,11.104139
+2006-01-04,11.194207
+2006-01-05,11.310010
+2006-01-06,11.580214
+2006-01-09,11.747484
+2006-01-10,11.777505
+2006-01-11,11.828978
+2006-01-12,11.811816
+2006-01-13,11.541612
+2006-01-17,11.588790
+2006-01-18,11.580214
+2006-01-19,11.833262
+2006-01-20,11.541612
+2006-01-23,11.635972
+2006-01-24,11.811816
+2006-01-25,11.790371
+2006-01-26,11.773215
+2006-01-27,11.961930
+2006-01-30,11.983374
+2006-01-31,11.901886
+2007-01-03,16.832905
+2007-01-04,17.102047
+2007-01-05,17.106613
+2007-01-08,17.384880
+2007-01-09,17.476114
+2007-01-10,17.941412
+2007-01-11,17.941412
+2007-01-12,17.964218
+2007-01-16,17.973341
+2007-01-17,17.654028
+2007-01-18,17.731573
+2007-01-19,17.831928
+2007-01-22,17.827370
+2007-01-23,17.914042
+2007-01-24,17.882109
+2007-01-25,18.069143
+2007-01-26,18.119322
+2007-01-29,18.374784
+2007-01-30,18.621115
+2007-01-31,18.817272
+2008-01-02,16.552956
+2008-01-03,15.691615
+2008-01-04,14.839911
+2008-01-07,14.815849
+2008-01-08,14.291352
+2008-01-09,14.445333
+2008-01-10,15.022761
+2008-01-11,15.042011
+2008-01-14,15.181555
+2008-01-15,14.878404
+2008-01-16,14.950584
+2008-01-17,14.724429
+2008-01-18,14.512698
+2008-01-22,15.008325
+2008-01-23,16.254608
+2008-01-24,15.715679
+2008-01-25,15.374031
+2008-01-28,15.566511
+2008-01-29,14.965018
+2008-01-30,14.584877
+2008-01-31,14.613752
+2009-01-02,13.391767
+2009-01-05,13.044989
+2009-01-06,13.116381
+2009-01-07,12.672709
+2009-01-08,12.336133
+2009-01-09,11.464087
+2009-01-12,11.081611
+2009-01-13,11.530383
+2009-01-14,11.045913
+2009-01-15,11.576281
+2009-01-16,11.866959
+2009-01-20,10.556343
+2009-01-21,11.841462
+2009-01-22,11.484488
+2009-01-23,11.550780
+2009-01-26,11.550780
+2009-01-27,11.953657
+2009-01-28,13.335668
+2009-01-29,12.433029
+2009-01-30,11.902656
+2010-01-04,16.520262
+2010-01-05,16.476305
+2010-01-06,16.377415
+2010-01-07,16.602661
+2010-01-08,16.712545
+2010-01-11,16.899342
+2010-01-12,16.613653
+2010-01-13,16.740015
+2010-01-14,16.690569
+2010-01-15,16.674089
+2010-01-19,17.190523
+2010-01-20,16.877365
+2010-01-21,16.377415
+2010-01-22,16.124695
+2010-01-25,16.130188
+2010-01-26,15.646720
+2010-01-27,15.778571
+2010-01-28,15.696160
+2010-01-29,15.575298
+2011-01-03,21.758547
+2011-01-04,21.636335
+2011-01-05,21.677071
+2011-01-06,21.345367
+2011-01-07,21.228981
+2011-01-10,21.066040
+2011-01-11,21.176607
+2011-01-12,20.984566
+2011-01-13,21.164965
+2011-01-14,21.083498
+2011-01-18,21.077679
+2011-01-19,20.920555
+2011-01-20,21.025307
+2011-01-21,20.908916
+2011-01-24,20.978748
+2011-01-25,21.240623
+2011-01-26,21.234804
+2011-01-27,21.508307
+2011-01-28,21.269718
+2011-01-31,21.583960
+2012-01-03,25.669514
+2012-01-04,24.737860
+2012-01-05,24.793030
+2012-01-06,24.725599
+2012-01-09,24.762379
+2012-01-10,25.191435
+2012-01-11,25.185305
+2012-01-12,25.013680
+2012-01-13,25.197552
+2012-01-17,25.473375
+2012-01-18,25.522411
+2012-01-19,25.363050
+2012-01-20,25.038195
+2012-01-23,25.252720
+2012-01-24,25.124004
+2012-01-25,25.344660
+2012-01-26,25.761454
+2012-01-27,25.694029
+2012-01-30,25.522411
+2012-01-31,25.761454
+2013-01-02,29.230621
+2013-01-03,29.269133
+2013-01-04,29.384668
+2013-01-07,29.204950
+2013-01-08,29.320484
+2013-01-09,29.256298
+2013-01-10,29.493793
+2013-01-11,29.525890
+2013-01-14,29.602903
+2013-01-15,29.628580
+2013-01-16,29.506622
+2013-01-17,29.686338
+2013-01-18,29.833984
+2013-01-22,29.910992
+2013-01-23,29.821135
+2013-01-24,29.853231
+2013-01-25,30.167746
+2013-01-28,30.116396
+2013-01-29,30.353891
+2013-01-30,30.180584
+2013-01-31,30.112425
+2014-01-02,24.327602
+2014-01-03,24.307446
+2014-01-06,24.730707
+2014-01-07,25.153971
+2014-01-08,25.100225
+2014-01-09,25.133818
+2014-01-10,26.114719
+2014-01-13,25.604111
+2014-01-14,25.523487
+2014-01-15,25.557079
+2014-01-16,25.798946
+2014-01-17,25.557079
+2014-01-21,25.792221
+2014-01-22,25.825821
+2014-01-23,25.886286
+2014-01-24,25.933313
+2014-01-27,25.805664
+2014-01-28,26.282675
+2014-01-29,26.087839
+2014-01-30,26.128155
+2014-01-31,26.302830
+2015-01-02,31.766428
+2015-01-05,32.085155
+2015-01-06,32.694279
+2015-01-07,33.388390
+2015-01-08,32.942169
+2015-01-09,32.977589
+2015-01-12,33.501717
+2015-01-13,33.437969
+2015-01-14,33.813358
+2015-01-15,34.110832
+2015-01-16,34.146252
+2015-01-20,34.117912
+2015-01-21,33.629208
+2015-01-22,34.018764
+2015-01-23,34.103752
+2015-01-26,34.061253
+2015-01-27,33.969181
+2015-01-28,33.912510
+2015-01-29,33.962090
+2015-01-30,33.494633
+2016-01-04,28.682240
+2016-01-05,29.304951
+2016-01-06,28.127052
+2016-01-07,27.376795
+2016-01-08,27.301773
+2016-01-11,27.729420
+2016-01-12,27.646891
+2016-01-13,27.159224
+2016-01-14,26.979162
+2016-01-15,27.189232
+2016-01-19,27.429316
+2016-01-20,26.236414
+2016-01-21,26.731575
+2016-01-22,27.729420
+2016-01-25,27.489332
+2016-01-26,27.796942
+2016-01-27,26.416471
+2016-01-28,26.258921
+2016-01-29,26.964153
+2017-01-03,26.031691
+2017-01-04,26.608618
+2017-01-05,27.229254
+2017-01-06,27.290442
+2017-01-09,26.932045
+2017-01-10,26.267704
+2017-01-11,26.573652
+2017-01-12,26.582394
+2017-01-13,26.416306
+2017-01-17,26.818411
+2017-01-18,26.704773
+2017-01-19,26.189034
+2017-01-20,26.285189
+2017-01-23,26.512466
+2017-01-24,26.433788
+2017-01-25,26.119099
+2017-01-26,25.874348
+2017-01-27,25.839380
+2017-01-30,26.285189
+2017-01-31,26.503719
+2018-01-02,23.822893
+2018-01-03,23.813696
+2018-01-04,23.225252
+2018-01-05,22.995392
+2018-01-08,23.013781
+2018-01-09,22.526470
+2018-01-10,22.397751
+2018-01-11,22.223053
+2018-01-12,21.735744
+2018-01-16,21.809303
+2018-01-17,21.809303
+2018-01-18,21.450718
+2018-01-19,21.533468
+2018-01-22,21.744938
+2018-01-23,22.324192
+2018-01-24,22.259832
+2018-01-25,22.416138
+2018-01-26,22.278219
+2018-01-29,22.075941
+2018-01-30,21.680582
+2018-01-31,22.140303
+2019-01-02,26.334394
+2019-01-03,27.281185
+2019-01-04,27.300705
+2019-01-07,27.622808
+2019-01-08,27.925392
+2019-01-09,27.827784
+2019-01-10,28.179169
+2019-01-11,28.315819
+2019-01-14,28.276775
+2019-01-15,28.764811
+2019-01-16,28.979548
+2019-01-17,29.096676
+2019-01-18,29.165001
+2019-01-22,29.184523
+2019-01-23,29.174761
+2019-01-24,29.106436
+2019-01-25,29.643278
+2019-01-28,29.897053
+2019-01-29,30.023943
+2019-01-30,30.170355
+2019-01-31,30.785280
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/IBM.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,1041 @@
+Date,Adj Close
+1970-01-02,4.888389
+1970-01-05,4.935295
+1970-01-06,4.938653
+1970-01-07,4.942001
+1970-01-08,4.952053
+1970-01-09,4.945353
+1970-01-12,4.928599
+1970-01-13,5.014038
+1970-01-14,5.009010
+1970-01-15,5.112877
+1970-01-16,4.955400
+1970-01-19,4.690710
+1970-01-20,4.777826
+1970-01-21,4.757727
+1970-01-22,4.771123
+1970-01-23,4.771123
+1970-01-26,4.670609
+1970-01-27,4.627051
+1970-01-28,4.570094
+1970-01-29,4.536589
+1970-01-30,4.492191
+1971-01-04,4.248910
+1971-01-05,4.293029
+1971-01-06,4.316788
+1971-01-07,4.293029
+1971-01-08,4.269271
+1971-01-11,4.242123
+1971-01-12,4.286243
+1971-01-13,4.284546
+1971-01-14,4.269271
+1971-01-15,4.208186
+1971-01-18,4.231941
+1971-01-19,4.245516
+1971-01-20,4.272666
+1971-01-21,4.282845
+1971-01-22,4.296423
+1971-01-25,4.367690
+1971-01-26,4.425383
+1971-01-27,4.377868
+1971-01-28,4.309998
+1971-01-29,4.418596
+1972-01-03,4.595716
+1972-01-04,4.692321
+1972-01-05,4.706126
+1972-01-06,4.706126
+1972-01-07,4.675072
+1972-01-10,4.664721
+1972-01-11,4.706126
+1972-01-12,4.723374
+1972-01-13,4.706126
+1972-01-14,4.830329
+1972-01-17,4.823434
+1972-01-18,4.823434
+1972-01-19,4.875183
+1972-01-20,5.016645
+1972-01-21,5.082201
+1972-01-24,4.975240
+1972-01-25,5.051150
+1972-01-26,5.089099
+1972-01-27,5.082201
+1972-01-28,5.082201
+1972-01-31,5.078752
+1973-01-02,5.724426
+1973-01-03,5.727927
+1973-01-04,5.762919
+1973-01-05,5.860891
+1973-01-08,5.860891
+1973-01-09,5.843394
+1973-01-10,5.759419
+1973-01-11,5.811905
+1973-01-12,5.878384
+1973-01-15,5.923872
+1973-01-16,5.913374
+1973-01-17,5.934368
+1973-01-18,6.002603
+1973-01-19,6.144310
+1973-01-22,6.102327
+1973-01-23,6.217793
+1973-01-24,6.102327
+1973-01-26,6.126817
+1973-01-29,6.179300
+1973-01-30,6.144310
+1973-01-31,6.095323
+1974-01-02,4.307736
+1974-01-03,4.245624
+1974-01-04,4.094787
+1974-01-07,4.032679
+1974-01-08,4.045988
+1974-01-09,4.041552
+1974-01-10,4.063732
+1974-01-11,4.258934
+1974-01-14,4.205698
+1974-01-15,4.243405
+1974-01-16,4.325479
+1974-01-17,4.449698
+1974-01-18,4.365407
+1974-01-21,4.347661
+1974-01-22,4.431953
+1974-01-23,4.400896
+1974-01-24,4.374281
+1974-01-25,4.383152
+1974-01-28,4.336570
+1974-01-29,4.316607
+1974-01-30,4.369843
+1974-01-31,4.352097
+1975-01-02,3.074932
+1975-01-03,3.049898
+1975-01-06,3.033965
+1975-01-07,3.018031
+1975-01-08,2.972512
+1975-01-09,3.068105
+1975-01-10,3.118178
+1975-01-13,3.081762
+1975-01-14,3.063553
+1975-01-15,2.977062
+1975-01-16,2.926991
+1975-01-17,2.879194
+1975-01-20,2.913333
+1975-01-21,2.906507
+1975-01-22,2.977062
+1975-01-23,2.967960
+1975-01-24,2.965684
+1975-01-27,2.965684
+1975-01-28,3.272952
+1975-01-29,3.409511
+1975-01-30,3.329850
+1975-01-31,3.427720
+1976-01-02,4.259599
+1976-01-05,4.325418
+1976-01-06,4.313664
+1976-01-07,4.297211
+1976-01-08,4.332471
+1976-01-09,4.348927
+1976-01-12,4.433557
+1976-01-13,4.405344
+1976-01-14,4.536990
+1976-01-15,4.506430
+1976-01-16,4.551097
+1976-01-19,4.701543
+1976-01-20,4.755612
+1976-01-21,4.654530
+1976-01-22,4.701543
+1976-01-23,4.781472
+1976-01-26,4.781472
+1976-01-27,4.699193
+1976-01-28,4.720349
+1976-01-29,4.823782
+1976-01-30,4.847290
+1977-01-03,5.359753
+1977-01-04,5.291909
+1977-01-05,5.311290
+1977-01-06,5.311290
+1977-01-07,5.272526
+1977-01-10,5.257983
+1977-01-11,5.214369
+1977-01-12,5.214369
+1977-01-13,5.243451
+1977-01-14,5.243451
+1977-01-17,5.291909
+1977-01-18,5.335522
+1977-01-19,5.379137
+1977-01-20,5.291909
+1977-01-21,5.311290
+1977-01-24,5.267681
+1977-01-25,5.228909
+1977-01-26,5.199832
+1977-01-27,5.204681
+1977-01-28,5.282218
+1977-01-31,5.335522
+1978-01-03,5.410470
+1978-01-04,5.450738
+1978-01-05,5.372723
+1978-01-06,5.375243
+1978-01-09,5.412990
+1978-01-10,5.375243
+1978-01-11,5.357626
+1978-01-12,5.367693
+1978-01-13,5.355110
+1978-01-16,5.385307
+1978-01-17,5.415506
+1978-01-18,5.420539
+1978-01-19,5.385307
+1978-01-20,5.360142
+1978-01-23,5.342525
+1978-01-24,5.355110
+1978-01-25,5.352596
+1978-01-26,5.319880
+1978-01-27,5.334978
+1978-01-30,5.372723
+1978-01-31,5.345045
+1979-01-02,6.377484
+1979-01-03,6.440527
+1979-01-04,6.409002
+1979-01-05,6.430024
+1979-01-08,6.398497
+1979-01-09,6.430024
+1979-01-10,6.416883
+1979-01-11,6.545593
+1979-01-12,6.571856
+1979-01-15,6.629638
+1979-01-16,6.506191
+1979-01-17,6.519325
+1979-01-18,6.535084
+1979-01-19,6.440527
+1979-01-22,6.545593
+1979-01-23,6.540335
+1979-01-24,6.482555
+1979-01-25,6.556097
+1979-01-26,6.577115
+1979-01-29,6.540335
+1979-01-30,6.556097
+1979-01-31,6.487803
+1980-01-02,5.512945
+1980-01-03,5.601156
+1980-01-04,5.590126
+1980-01-07,5.568071
+1980-01-08,5.942955
+1980-01-09,5.766541
+1980-01-10,5.953983
+1980-01-11,5.909876
+1980-01-14,5.898848
+1980-01-15,6.185523
+1980-01-16,6.174500
+1980-01-17,6.108345
+1980-01-18,6.141420
+1980-01-21,6.086292
+1980-01-22,6.086292
+1980-01-23,6.284757
+1980-01-24,6.229624
+1980-01-25,6.185523
+1980-01-28,6.262705
+1980-01-29,6.207577
+1980-01-30,6.207577
+1980-01-31,6.053215
+1981-01-02,6.436696
+1981-01-05,6.541456
+1981-01-06,6.657849
+1981-01-07,6.471617
+1981-01-08,6.297024
+1981-01-09,6.273745
+1981-01-12,6.215546
+1981-01-13,6.192264
+1981-01-14,6.215546
+1981-01-15,6.122427
+1981-01-16,6.227185
+1981-01-19,6.203909
+1981-01-20,6.052593
+1981-01-21,6.064232
+1981-01-22,6.075869
+1981-01-23,6.052593
+1981-01-26,6.052593
+1981-01-27,6.099150
+1981-01-28,6.017670
+1981-01-29,6.040953
+1981-01-30,5.994392
+1982-01-04,5.757130
+1982-01-05,5.633589
+1982-01-06,5.608875
+1982-01-07,5.608875
+1982-01-08,5.608875
+1982-01-11,5.608875
+1982-01-12,5.683002
+1982-01-13,5.670648
+1982-01-14,5.818899
+1982-01-15,5.905377
+1982-01-18,6.115405
+1982-01-19,6.028924
+1982-01-20,6.078342
+1982-01-21,6.177181
+1982-01-22,6.090695
+1982-01-25,6.127760
+1982-01-26,6.103051
+1982-01-27,6.189530
+1982-01-28,6.362489
+1982-01-29,6.288365
+1983-01-03,9.666998
+1983-01-04,9.939861
+1983-01-05,9.978843
+1983-01-06,10.147749
+1983-01-07,10.043811
+1983-01-10,10.186730
+1983-01-11,10.186730
+1983-01-12,10.199730
+1983-01-13,10.251698
+1983-01-14,10.303666
+1983-01-17,10.316666
+1983-01-18,10.355642
+1983-01-19,10.238707
+1983-01-20,10.173738
+1983-01-21,9.835904
+1983-01-24,9.757953
+1983-01-25,9.978843
+1983-01-26,9.887886
+1983-01-27,10.147749
+1983-01-28,10.121765
+1983-01-31,10.277679
+1984-01-03,13.074506
+1984-01-04,13.302706
+1984-01-05,13.342975
+1984-01-06,13.262432
+1984-01-09,13.235584
+1984-01-10,13.128196
+1984-01-11,13.128196
+1984-01-12,13.020804
+1984-01-13,12.779179
+1984-01-16,12.940273
+1984-01-17,12.993970
+1984-01-18,12.940273
+1984-01-19,12.765762
+1984-01-20,12.564416
+1984-01-23,12.470447
+1984-01-24,12.537564
+1984-01-25,12.389909
+1984-01-26,12.309360
+1984-01-27,12.336215
+1984-01-30,12.228815
+1984-01-31,12.255673
+1985-01-02,13.449013
+1985-01-03,13.337868
+1985-01-04,13.310073
+1985-01-07,13.379540
+1985-01-08,13.310073
+1985-01-09,13.379540
+1985-01-10,13.754668
+1985-01-11,13.643523
+1985-01-14,13.865826
+1985-01-15,13.851927
+1985-01-16,13.768561
+1985-01-17,13.740782
+1985-01-18,13.796351
+1985-01-21,14.254839
+1985-01-22,14.407678
+1985-01-23,14.727236
+1985-01-24,14.796701
+1985-01-25,14.810591
+1985-01-28,14.963411
+1985-01-29,15.227398
+1985-01-30,15.185719
+1985-01-31,15.157922
+1986-01-02,17.474247
+1986-01-03,17.747278
+1986-01-06,17.747278
+1986-01-07,17.890984
+1986-01-08,17.114994
+1986-01-09,17.287434
+1986-01-10,17.071875
+1986-01-13,17.129358
+1986-01-14,17.158100
+1986-01-15,17.546093
+1986-01-16,17.934090
+1986-01-17,17.344912
+1986-01-20,17.172472
+1986-01-21,17.186848
+1986-01-22,16.583290
+1986-01-23,17.014397
+1986-01-24,17.244316
+1986-01-27,17.201206
+1986-01-28,17.445503
+1986-01-29,17.359276
+1986-01-30,17.186848
+1986-01-31,17.416761
+1987-01-02,14.475987
+1987-01-05,14.668808
+1987-01-06,14.594651
+1987-01-07,14.653969
+1987-01-08,14.579815
+1987-01-09,14.505650
+1987-01-12,14.283177
+1987-01-13,13.823381
+1987-01-14,14.075527
+1987-01-15,14.238673
+1987-01-16,14.238673
+1987-01-19,14.861623
+1987-01-20,14.564986
+1987-01-21,14.564986
+1987-01-22,15.113764
+1987-01-23,14.980269
+1987-01-26,15.098940
+1987-01-27,15.351079
+1987-01-28,15.425232
+1987-01-29,15.262089
+1987-01-30,15.276920
+1988-01-04,14.776441
+1988-01-05,14.914111
+1988-01-06,15.036479
+1988-01-07,15.097670
+1988-01-08,14.057508
+1988-01-11,14.409322
+1988-01-12,14.103396
+1988-01-13,14.210472
+1988-01-14,14.179884
+1988-01-15,14.562291
+1988-01-18,14.409322
+1988-01-19,13.675088
+1988-01-20,13.506824
+1988-01-21,13.583311
+1988-01-22,13.522125
+1988-01-25,13.858662
+1988-01-26,13.690395
+1988-01-27,13.797459
+1988-01-28,13.919822
+1988-01-29,13.751575
+1989-01-03,15.376348
+1989-01-04,15.566969
+1989-01-05,15.535198
+1989-01-06,15.487542
+1989-01-09,15.503421
+1989-01-10,15.392234
+1989-01-11,15.535198
+1989-01-12,15.646391
+1989-01-13,15.678155
+1989-01-16,15.789351
+1989-01-17,15.741692
+1989-01-18,15.884665
+1989-01-19,15.789351
+1989-01-20,15.709925
+1989-01-23,15.551078
+1989-01-24,15.789351
+1989-01-25,15.662272
+1989-01-26,16.011732
+1989-01-27,16.122934
+1989-01-30,16.361204
+1989-01-31,16.599472
+1990-01-02,12.991369
+1990-01-03,13.107363
+1990-01-04,13.256505
+1990-01-05,13.223370
+1990-01-08,13.306211
+1990-01-09,13.173647
+1990-01-10,13.123942
+1990-01-11,13.239930
+1990-01-12,12.974802
+1990-01-15,13.007947
+1990-01-16,13.273075
+1990-01-17,13.107363
+1990-01-18,13.190223
+1990-01-19,13.074224
+1990-01-22,12.809101
+1990-01-23,12.825672
+1990-01-24,12.925096
+1990-01-25,12.709673
+1990-01-26,12.842242
+1990-01-29,12.891953
+1990-01-30,12.891953
+1990-01-31,13.074224
+1991-01-02,15.563496
+1991-01-03,15.615539
+1991-01-04,15.563496
+1991-01-07,15.303226
+1991-01-08,15.129725
+1991-01-09,14.834764
+1991-01-10,15.042971
+1991-01-11,15.008270
+1991-01-14,14.817409
+1991-01-15,14.921514
+1991-01-16,15.147072
+1991-01-17,16.066647
+1991-01-18,16.326920
+1991-01-21,16.604521
+1991-01-22,16.378965
+1991-01-23,16.552464
+1991-01-24,16.795387
+1991-01-25,17.020937
+1991-01-28,17.246498
+1991-01-29,17.281189
+1991-01-30,17.628206
+1991-01-31,17.593504
+1992-01-02,13.113651
+1992-01-03,13.131820
+1992-01-06,13.404249
+1992-01-07,13.749351
+1992-01-08,13.422423
+1992-01-09,13.258952
+1992-01-10,13.204460
+1992-01-13,13.113651
+1992-01-14,13.422423
+1992-01-15,13.858327
+1992-01-16,13.876487
+1992-01-17,14.003636
+1992-01-20,13.840169
+1992-01-21,13.495072
+1992-01-22,13.894658
+1992-01-23,13.585885
+1992-01-24,13.531401
+1992-01-27,13.622217
+1992-01-28,13.549555
+1992-01-29,13.349774
+1992-01-30,13.331603
+1992-01-31,13.077317
+1993-01-04,7.714984
+1993-01-05,7.522590
+1993-01-06,7.387915
+1993-01-07,7.233998
+1993-01-08,7.157043
+1993-01-11,7.349437
+1993-01-12,7.503345
+1993-01-13,7.349437
+1993-01-14,7.503345
+1993-01-15,7.426390
+1993-01-18,7.618782
+1993-01-19,7.445631
+1993-01-20,7.214760
+1993-01-21,7.137798
+1993-01-22,7.484108
+1993-01-25,7.522590
+1993-01-26,7.541828
+1993-01-27,7.638026
+1993-01-28,7.734222
+1993-01-29,7.926613
+1994-01-03,9.159615
+1994-01-04,9.378179
+1994-01-05,9.457651
+1994-01-06,9.298698
+1994-01-07,9.358305
+1994-01-10,9.417915
+1994-01-11,9.318566
+1994-01-12,9.239091
+1994-01-13,9.338438
+1994-01-14,9.318566
+1994-01-17,9.139749
+1994-01-18,9.080137
+1994-01-19,8.901320
+1994-01-20,8.782104
+1994-01-21,8.782104
+1994-01-24,9.318566
+1994-01-25,9.258962
+1994-01-26,8.960924
+1994-01-27,9.080137
+1994-01-28,9.179488
+1994-01-31,8.980794
+1995-01-03,11.914366
+1995-01-04,12.015333
+1995-01-05,11.954753
+1995-01-06,12.136494
+1995-01-09,12.197076
+1995-01-10,12.378817
+1995-01-11,12.277859
+1995-01-12,12.277859
+1995-01-13,12.338433
+1995-01-16,12.520175
+1995-01-17,12.520175
+1995-01-18,12.479790
+1995-01-19,12.358627
+1995-01-20,12.176882
+1995-01-23,11.995141
+1995-01-24,11.954753
+1995-01-25,11.692231
+1995-01-26,11.692231
+1995-01-27,11.712429
+1995-01-30,11.591261
+1995-01-31,11.651849
+1996-01-02,14.841003
+1996-01-03,14.575624
+1996-01-04,14.187760
+1996-01-05,14.473556
+1996-01-08,14.555218
+1996-01-09,14.167350
+1996-01-10,14.249002
+1996-01-11,14.249002
+1996-01-12,14.106093
+1996-01-15,13.575334
+1996-01-16,14.208172
+1996-01-17,14.310244
+1996-01-18,15.718810
+1996-01-19,16.657860
+1996-01-22,16.698683
+1996-01-23,16.821175
+1996-01-24,17.474421
+1996-01-25,17.004885
+1996-01-26,17.106970
+1996-01-29,17.392761
+1996-01-30,17.739805
+1996-01-31,17.719385
+1997-01-02,25.314077
+1997-01-03,26.284523
+1997-01-06,26.635532
+1997-01-07,26.986542
+1997-01-08,26.408407
+1997-01-09,26.738758
+1997-01-10,26.924597
+1997-01-13,27.069138
+1997-01-14,27.587912
+1997-01-15,27.193027
+1997-01-16,27.337551
+1997-01-17,27.296265
+1997-01-20,27.585333
+1997-01-21,27.750509
+1997-01-22,26.098686
+1997-01-23,25.066299
+1997-01-24,24.859825
+1997-01-27,24.075218
+1997-01-28,24.901112
+1997-01-29,25.830284
+1997-01-30,25.974815
+1997-01-31,25.912865
+1998-01-02,35.195301
+1998-01-05,35.466019
+1998-01-06,35.070332
+1998-01-07,34.737122
+1998-01-08,34.716305
+1998-01-09,33.341805
+1998-01-12,33.362633
+1998-01-13,34.029034
+1998-01-14,34.195663
+1998-01-15,34.466389
+1998-01-16,34.987022
+1998-01-20,36.111618
+1998-01-21,33.362633
+1998-01-22,33.112724
+1998-01-23,33.050243
+1998-01-26,32.696220
+1998-01-27,32.154728
+1998-01-28,32.321346
+1998-01-29,32.717041
+1998-01-30,32.904472
+1999-01-04,61.409885
+1999-01-05,63.633057
+1999-01-06,63.339432
+1999-01-07,63.821838
+1999-01-08,62.940941
+1999-01-11,63.507206
+1999-01-12,62.102001
+1999-01-13,62.248829
+1999-01-14,60.612907
+1999-01-15,62.060070
+1999-01-19,64.513962
+1999-01-20,65.268997
+1999-01-21,66.107903
+1999-01-22,60.319260
+1999-01-25,61.074299
+1999-01-26,62.290726
+1999-01-27,59.836887
+1999-01-28,59.962749
+1999-01-29,61.493778
+2000-01-03,78.224693
+2000-01-04,75.569450
+2000-01-05,78.224693
+2000-01-06,76.875992
+2000-01-07,76.538826
+2000-01-10,79.573387
+2000-01-11,80.247772
+2000-01-12,80.584938
+2000-01-13,79.742020
+2000-01-14,80.669205
+2000-01-18,78.056099
+2000-01-19,80.584938
+2000-01-20,80.247772
+2000-01-21,81.933662
+2000-01-24,81.933662
+2000-01-25,80.332069
+2000-01-26,78.730461
+2000-01-27,76.538826
+2000-01-28,75.232269
+2000-01-31,75.695892
+2001-01-02,57.459831
+2001-01-03,64.107704
+2001-01-04,63.133808
+2001-01-05,63.684292
+2001-01-08,63.387875
+2001-01-09,62.710407
+2001-01-10,63.303196
+2001-01-11,63.472538
+2001-01-12,63.557224
+2001-01-16,62.837429
+2001-01-17,65.505035
+2001-01-18,73.380905
+2001-01-19,75.371025
+2001-01-22,73.550270
+2001-01-23,73.889008
+2001-01-24,74.820549
+2001-01-25,75.032280
+2001-01-26,77.361145
+2001-01-29,77.898087
+2001-01-30,79.002373
+2001-01-31,75.879150
+2002-01-02,82.719574
+2002-01-03,84.190147
+2002-01-04,85.510933
+2002-01-07,84.455696
+2002-01-08,84.898193
+2002-01-09,84.755257
+2002-01-10,83.155281
+2002-01-11,81.909409
+2002-01-14,80.370750
+2002-01-15,80.915436
+2002-01-16,79.928223
+2002-01-17,81.630272
+2002-01-18,77.783646
+2002-01-22,75.230583
+2002-01-23,73.460464
+2002-01-24,74.018700
+2002-01-25,74.399963
+2002-01-28,73.630653
+2002-01-29,70.124435
+2002-01-30,71.860512
+2002-01-31,73.453636
+2003-01-02,55.257191
+2003-01-03,55.997898
+2003-01-06,57.328423
+2003-01-07,58.981274
+2003-01-08,57.739880
+2003-01-09,59.667099
+2003-01-10,60.133442
+2003-01-13,60.016850
+2003-01-14,60.750721
+2003-01-15,60.071739
+2003-01-16,59.015549
+2003-01-17,55.757881
+2003-01-21,55.236629
+2003-01-22,54.660538
+2003-01-23,55.586422
+2003-01-24,54.173595
+2003-01-27,53.782681
+2003-01-28,54.941750
+2003-01-29,55.085751
+2003-01-30,53.700378
+2003-01-31,53.631809
+2004-01-02,63.265926
+2004-01-05,64.302460
+2004-01-06,64.309410
+2004-01-07,64.115913
+2004-01-08,64.295601
+2004-01-09,63.030960
+2004-01-12,63.265926
+2004-01-13,61.987465
+2004-01-14,62.409004
+2004-01-15,64.972801
+2004-01-16,65.871193
+2004-01-20,67.101257
+2004-01-21,67.515869
+2004-01-22,67.384590
+2004-01-23,67.654099
+2004-01-26,69.001656
+2004-01-27,68.276047
+2004-01-28,67.294746
+2004-01-29,67.730110
+2004-01-30,68.573227
+2005-01-03,68.072037
+2005-01-04,67.340805
+2005-01-05,67.201546
+2005-01-06,66.992638
+2005-01-07,66.700165
+2005-01-10,66.630516
+2005-01-11,66.156960
+2005-01-12,66.303215
+2005-01-13,65.773964
+2005-01-14,65.530220
+2005-01-18,66.087311
+2005-01-19,64.833839
+2005-01-20,64.764191
+2005-01-21,64.332397
+2005-01-24,63.921566
+2005-01-25,64.200127
+2005-01-26,64.032997
+2005-01-27,64.053879
+2005-01-28,64.687576
+2005-01-31,65.056671
+2006-01-03,57.682827
+2006-01-04,57.605503
+2006-01-05,57.992123
+2006-01-06,59.714298
+2006-01-09,58.856739
+2006-01-10,59.095718
+2006-01-11,59.166023
+2006-01-12,58.744232
+2006-01-13,58.463081
+2006-01-17,58.343594
+2006-01-18,58.905941
+2006-01-19,58.406834
+2006-01-20,57.190769
+2006-01-23,57.225933
+2006-01-24,56.832287
+2006-01-25,56.874451
+2006-01-26,56.740894
+2006-01-27,56.951759
+2006-01-30,57.380589
+2006-01-31,57.148575
+2007-01-03,69.292442
+2007-01-04,70.033356
+2007-01-05,69.399338
+2007-01-08,70.453651
+2007-01-09,71.287102
+2007-01-10,70.446518
+2007-01-11,70.275558
+2007-01-12,70.767075
+2007-01-16,71.821404
+2007-01-17,71.251511
+2007-01-18,70.845444
+2007-01-19,68.508865
+2007-01-22,69.178505
+2007-01-23,69.157104
+2007-01-24,69.385094
+2007-01-25,69.463440
+2007-01-26,69.420692
+2007-01-29,70.197166
+2007-01-30,70.788429
+2007-01-31,70.631729
+2008-01-02,75.626999
+2008-01-03,75.778725
+2008-01-04,73.055305
+2008-01-07,72.275131
+2008-01-08,70.498016
+2008-01-09,71.018166
+2008-01-10,72.181206
+2008-01-11,70.555824
+2008-01-14,74.355606
+2008-01-15,73.560974
+2008-01-16,73.416466
+2008-01-17,73.033615
+2008-01-18,74.695137
+2008-01-22,73.120316
+2008-01-23,76.645569
+2008-01-24,77.230705
+2008-01-25,75.504189
+2008-01-28,75.836525
+2008-01-29,76.645569
+2008-01-30,76.320488
+2008-01-31,77.375198
+2009-01-02,64.220299
+2009-01-05,63.816013
+2009-01-06,65.587479
+2009-01-07,64.529030
+2009-01-08,64.080658
+2009-01-09,62.257763
+2009-01-12,63.000126
+2009-01-13,62.728195
+2009-01-14,61.147850
+2009-01-15,61.831436
+2009-01-16,62.419456
+2009-01-20,60.258434
+2009-01-21,67.197212
+2009-01-22,66.204926
+2009-01-23,65.778572
+2009-01-26,67.329521
+2009-01-27,67.373619
+2009-01-28,69.696358
+2009-01-29,67.998428
+2009-01-30,67.366272
+2010-01-04,99.299347
+2010-01-05,98.099792
+2010-01-06,97.462532
+2010-01-07,97.125160
+2010-01-08,98.099792
+2010-01-11,97.072685
+2010-01-12,97.844872
+2010-01-13,97.634964
+2010-01-14,99.194389
+2010-01-15,98.797028
+2010-01-19,100.566330
+2010-01-20,97.649979
+2010-01-21,96.712860
+2010-01-22,94.088844
+2010-01-25,94.553688
+2010-01-26,94.276276
+2010-01-27,94.711105
+2010-01-28,92.776848
+2010-01-29,91.757233
+2011-01-03,112.682991
+2011-01-04,112.805244
+2011-01-05,112.354431
+2011-01-06,113.584595
+2011-01-07,113.026810
+2011-01-10,112.805244
+2011-01-11,112.530159
+2011-01-12,113.920769
+2011-01-13,113.706810
+2011-01-14,114.608414
+2011-01-18,115.105042
+2011-01-19,118.955887
+2011-01-20,119.039932
+2011-01-21,118.810730
+2011-01-24,121.966255
+2011-01-25,123.349190
+2011-01-26,123.043533
+2011-01-27,123.066505
+2011-01-28,121.645355
+2011-01-31,123.777077
+2012-01-03,144.750931
+2012-01-04,144.160431
+2012-01-05,143.476715
+2012-01-06,141.829529
+2012-01-09,141.091370
+2012-01-10,140.873840
+2012-01-11,141.658569
+2012-01-12,140.283356
+2012-01-13,139.203323
+2012-01-17,139.855988
+2012-01-18,140.687347
+2012-01-19,140.259979
+2012-01-20,146.475876
+2012-01-23,147.610214
+2012-01-24,149.125366
+2012-01-25,148.969940
+2012-01-26,148.387192
+2012-01-27,147.983154
+2012-01-30,149.568237
+2012-01-31,149.645920
+2013-01-02,155.127869
+2013-01-03,154.274582
+2013-01-04,153.263306
+2013-01-07,152.591736
+2013-01-08,152.378448
+2013-01-09,151.943924
+2013-01-10,152.386398
+2013-01-11,153.626740
+2013-01-14,152.180954
+2013-01-15,152.086151
+2013-01-16,152.157242
+2013-01-17,152.994690
+2013-01-18,153.642532
+2013-01-22,154.914536
+2013-01-23,161.740631
+2013-01-24,161.503632
+2013-01-25,161.938126
+2013-01-28,161.906509
+2013-01-29,161.092728
+2013-01-30,160.792557
+2013-01-31,160.437073
+2014-01-02,149.423752
+2014-01-03,150.317719
+2014-01-06,149.802322
+2014-01-07,152.790314
+2014-01-08,151.388947
+2014-01-09,150.913773
+2014-01-10,150.817108
+2014-01-13,148.320389
+2014-01-14,149.737869
+2014-01-15,151.203705
+2014-01-16,152.025192
+2014-01-17,153.096344
+2014-01-21,151.759430
+2014-01-22,146.782120
+2014-01-23,147.168701
+2014-01-24,144.680054
+2014-01-27,143.278671
+2014-01-28,142.432983
+2014-01-29,142.070557
+2014-01-30,142.843765
+2014-01-31,142.296097
+2015-01-02,133.690369
+2015-01-05,131.586792
+2015-01-06,128.748962
+2015-01-07,127.907516
+2015-01-08,130.687607
+2015-01-09,131.256805
+2015-01-12,129.054230
+2015-01-13,129.359436
+2015-01-14,128.526230
+2015-01-15,127.511566
+2015-01-16,129.631668
+2015-01-20,129.474899
+2015-01-21,125.465668
+2015-01-22,128.187988
+2015-01-23,128.583969
+2015-01-26,128.988190
+2015-01-27,126.769104
+2015-01-28,125.020226
+2015-01-29,128.262238
+2015-01-30,126.472122
+2016-01-04,116.705612
+2016-01-05,116.619774
+2016-01-06,116.036041
+2016-01-07,114.053009
+2016-01-08,112.997116
+2016-01-11,114.370621
+2016-01-12,114.087349
+2016-01-13,112.602226
+2016-01-14,114.095932
+2016-01-15,111.623589
+2016-01-19,109.975380
+2016-01-20,104.610115
+2016-01-21,105.511482
+2016-01-22,105.159515
+2016-01-25,104.798965
+2016-01-26,105.236771
+2016-01-27,103.837509
+2016-01-28,104.919159
+2016-01-29,107.125351
+2017-01-03,150.422272
+2017-01-04,152.284653
+2017-01-05,151.780807
+2017-01-06,152.527573
+2017-01-09,150.836121
+2017-01-10,148.919739
+2017-01-11,150.926086
+2017-01-12,151.106049
+2017-01-13,150.557205
+2017-01-17,151.052048
+2017-01-18,150.071350
+2017-01-19,150.080353
+2017-01-20,153.445267
+2017-01-23,153.877121
+2017-01-24,158.258713
+2017-01-25,160.409012
+2017-01-26,160.741898
+2017-01-27,159.518280
+2017-01-30,158.168762
+2017-01-31,157.017105
+2018-01-02,144.162811
+2018-01-03,148.125549
+2018-01-04,151.125626
+2018-01-05,151.863968
+2018-01-08,152.779877
+2018-01-09,153.116333
+2018-01-10,153.443436
+2018-01-11,153.462143
+2018-01-12,152.471436
+2018-01-16,153.135025
+2018-01-17,157.621109
+2018-01-18,158.060364
+2018-01-19,151.751785
+2018-01-22,151.966766
+2018-01-23,155.378067
+2018-01-24,154.555603
+2018-01-25,154.649063
+2018-01-26,156.396790
+2018-01-29,155.892090
+2018-01-30,152.920059
+2018-01-31,152.994812
+2019-01-02,112.546227
+2019-01-03,110.299408
+2019-01-04,114.607445
+2019-01-07,115.418259
+2019-01-08,117.059410
+2019-01-09,117.899529
+2019-01-10,118.974091
+2019-01-11,118.651726
+2019-01-14,117.606468
+2019-01-15,118.915489
+2019-01-16,118.808029
+2019-01-17,119.364853
+2019-01-18,120.957161
+2019-01-22,119.687210
+2019-01-23,129.817444
+2019-01-24,129.465775
+2019-01-25,130.872482
+2019-01-28,131.165558
+2019-01-29,131.224152
+2019-01-30,131.272995
+2019-01-31,131.312073
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/MSFT.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,680 @@
+Date,Adj Close
+1987-01-02,0.107387
+1987-01-05,0.113572
+1987-01-06,0.115258
+1987-01-07,0.121443
+1987-01-08,0.125379
+1987-01-09,0.130439
+1987-01-12,0.138872
+1987-01-13,0.134937
+1987-01-14,0.134937
+1987-01-15,0.142246
+1987-01-16,0.138872
+1987-01-19,0.143933
+1987-01-20,0.146181
+1987-01-21,0.152366
+1987-01-22,0.167546
+1987-01-23,0.151804
+1987-01-26,0.154615
+1987-01-27,0.160800
+1987-01-28,0.161362
+1987-01-29,0.154615
+1987-01-30,0.164454
+1988-01-04,0.251882
+1988-01-05,0.256380
+1988-01-06,0.263127
+1988-01-07,0.272123
+1988-01-08,0.251882
+1988-01-11,0.260315
+1988-01-12,0.255255
+1988-01-13,0.255255
+1988-01-14,0.253006
+1988-01-15,0.259753
+1988-01-18,0.257504
+1988-01-19,0.257504
+1988-01-20,0.242886
+1988-01-21,0.247384
+1988-01-22,0.242324
+1988-01-25,0.250757
+1988-01-26,0.245135
+1988-01-27,0.250757
+1988-01-28,0.254131
+1988-01-29,0.250757
+1989-01-03,0.241200
+1989-01-04,0.244011
+1989-01-05,0.240075
+1989-01-06,0.238388
+1989-01-09,0.236139
+1989-01-10,0.233890
+1989-01-11,0.236139
+1989-01-12,0.236139
+1989-01-13,0.238388
+1989-01-16,0.238951
+1989-01-17,0.231641
+1989-01-18,0.231641
+1989-01-19,0.240637
+1989-01-20,0.243448
+1989-01-23,0.238388
+1989-01-24,0.237264
+1989-01-25,0.238388
+1989-01-26,0.244011
+1989-01-27,0.249071
+1989-01-30,0.263127
+1989-01-31,0.268187
+1990-01-02,0.399188
+1990-01-03,0.401437
+1990-01-04,0.413244
+1990-01-05,0.403123
+1990-01-08,0.409308
+1990-01-09,0.408184
+1990-01-10,0.396939
+1990-01-11,0.389068
+1990-01-12,0.387381
+1990-01-15,0.387381
+1990-01-16,0.399188
+1990-01-17,0.393566
+1990-01-18,0.427300
+1990-01-19,0.423364
+1990-01-22,0.408184
+1990-01-23,0.403686
+1990-01-24,0.408184
+1990-01-25,0.408184
+1990-01-26,0.408184
+1990-01-29,0.411557
+1990-01-30,0.410433
+1990-01-31,0.416055
+1991-01-02,0.672435
+1991-01-03,0.676933
+1991-01-04,0.682555
+1991-01-07,0.673559
+1991-01-08,0.661190
+1991-01-09,0.665688
+1991-01-10,0.703920
+1991-01-11,0.701671
+1991-01-14,0.690426
+1991-01-15,0.705044
+1991-01-16,0.739903
+1991-01-17,0.755646
+1991-01-18,0.766890
+1991-01-21,0.805123
+1991-01-22,0.799500
+1991-01-23,0.800625
+1991-01-24,0.814118
+1991-01-25,0.805123
+1991-01-28,0.829861
+1991-01-29,0.832110
+1991-01-30,0.865844
+1991-01-31,0.882711
+1992-01-02,1.538279
+1992-01-03,1.524786
+1992-01-06,1.572013
+1992-01-07,1.619241
+1992-01-08,1.676589
+1992-01-09,1.717071
+1992-01-10,1.690083
+1992-01-13,1.715383
+1992-01-14,1.730564
+1992-01-15,1.774419
+1992-01-16,1.723817
+1992-01-17,1.706950
+1992-01-20,1.652975
+1992-01-21,1.610808
+1992-01-22,1.693456
+1992-01-23,1.686710
+1992-01-24,1.681649
+1992-01-27,1.627674
+1992-01-28,1.629361
+1992-01-29,1.679962
+1992-01-30,1.666469
+1992-01-31,1.622615
+1993-01-04,1.722974
+1993-01-05,1.750804
+1993-01-06,1.801406
+1993-01-07,1.765985
+1993-01-08,1.763454
+1993-01-11,1.803935
+1993-01-12,1.816586
+1993-01-13,1.846947
+1993-01-14,1.846947
+1993-01-15,1.816586
+1993-01-18,1.806465
+1993-01-19,1.788755
+1993-01-20,1.788755
+1993-01-21,1.811525
+1993-01-22,1.808995
+1993-01-25,1.791286
+1993-01-26,1.781165
+1993-01-27,1.745744
+1993-01-28,1.760924
+1993-01-29,1.750804
+1994-01-03,1.621771
+1994-01-04,1.629361
+1994-01-05,1.664782
+1994-01-06,1.712854
+1994-01-07,1.725503
+1994-01-10,1.735625
+1994-01-11,1.725503
+1994-01-12,1.730564
+1994-01-13,1.728033
+1994-01-14,1.733094
+1994-01-17,1.715383
+1994-01-18,1.712854
+1994-01-19,1.685023
+1994-01-20,1.745744
+1994-01-21,1.745744
+1994-01-24,1.725503
+1994-01-25,1.722974
+1994-01-26,1.705263
+1994-01-27,1.705263
+1994-01-28,1.717914
+1994-01-31,1.722974
+1995-01-03,2.436452
+1995-01-04,2.454162
+1995-01-05,2.413681
+1995-01-06,2.454162
+1995-01-09,2.438982
+1995-01-10,2.469342
+1995-01-11,2.484523
+1995-01-12,2.479463
+1995-01-13,2.540184
+1995-01-16,2.595845
+1995-01-17,2.616086
+1995-01-18,2.633796
+1995-01-19,2.570545
+1995-01-20,2.494643
+1995-01-23,2.542714
+1995-01-24,2.510455
+1995-01-25,2.499703
+1995-01-26,2.423801
+1995-01-27,2.423801
+1995-01-30,2.388381
+1995-01-31,2.403561
+1996-01-02,3.633172
+1996-01-03,3.516788
+1996-01-04,3.537030
+1996-01-05,3.496548
+1996-01-08,3.491488
+1996-01-09,3.246072
+1996-01-10,3.334625
+1996-01-11,3.506669
+1996-01-12,3.471249
+1996-01-15,3.339685
+1996-01-16,3.496548
+1996-01-17,3.435828
+1996-01-18,3.547150
+1996-01-19,3.719195
+1996-01-22,3.724254
+1996-01-23,3.623051
+1996-01-24,3.693893
+1996-01-25,3.617990
+1996-01-26,3.663534
+1996-01-29,3.658475
+1996-01-30,3.676183
+1996-01-31,3.744495
+1997-01-02,6.608530
+1997-01-03,6.851416
+1997-01-06,6.831172
+1997-01-07,6.881775
+1997-01-08,6.750212
+1997-01-09,6.669249
+1997-01-10,6.821054
+1997-01-13,6.780572
+1997-01-14,6.912134
+1997-01-15,6.851416
+1997-01-16,6.962737
+1997-01-17,7.053818
+1997-01-20,7.347305
+1997-01-21,7.691395
+1997-01-22,7.883678
+1997-01-23,7.671154
+1997-01-24,7.767295
+1997-01-27,7.782478
+1997-01-28,7.741993
+1997-01-29,7.873557
+1997-01-30,8.187287
+1997-01-31,8.258130
+1998-01-02,10.616150
+1998-01-05,10.555428
+1998-01-06,10.616150
+1998-01-07,10.489644
+1998-01-08,10.565549
+1998-01-09,10.282182
+1998-01-12,10.484588
+1998-01-13,10.697112
+1998-01-14,10.616150
+1998-01-15,10.712291
+1998-01-16,10.950123
+1998-01-20,11.157584
+1998-01-21,11.091799
+1998-01-22,11.223368
+1998-01-23,11.193005
+1998-01-26,11.476371
+1998-01-27,11.754679
+1998-01-28,12.063345
+1998-01-29,12.002621
+1998-01-30,12.078526
+1999-01-04,22.831306
+1999-01-05,23.721886
+1999-01-06,24.491014
+1999-01-07,24.369577
+1999-01-08,24.268383
+1999-01-11,23.883801
+1999-01-12,23.023584
+1999-01-13,23.286709
+1999-01-14,22.952742
+1999-01-15,24.248142
+1999-01-19,25.199436
+1999-01-20,26.332907
+1999-01-21,25.634613
+1999-01-22,25.300640
+1999-01-25,26.211468
+1999-01-26,27.780104
+1999-01-27,27.304447
+1999-01-28,28.174784
+1999-01-29,28.336729
+2000-01-03,37.748550
+2000-01-04,36.473404
+2000-01-05,36.857986
+2000-01-06,35.623310
+2000-01-07,36.088825
+2000-01-10,36.351967
+2000-01-11,35.420887
+2000-01-12,34.267193
+2000-01-13,34.914886
+2000-01-14,36.351967
+2000-01-18,37.343746
+2000-01-19,34.651752
+2000-01-20,34.327900
+2000-01-21,33.599251
+2000-01-24,32.789646
+2000-01-25,33.295643
+2000-01-26,32.182415
+2000-01-27,31.980013
+2000-01-28,31.818089
+2000-01-31,31.696636
+2001-01-02,14.046911
+2001-01-03,15.524474
+2001-01-04,15.686399
+2001-01-05,15.909044
+2001-01-08,15.848318
+2001-01-09,16.779377
+2001-01-10,17.123474
+2001-01-11,17.811655
+2001-01-12,17.325876
+2001-01-16,17.022276
+2001-01-17,17.143715
+2001-01-18,17.973572
+2001-01-19,19.754734
+2001-01-22,19.471373
+2001-01-23,19.613058
+2001-01-24,20.382196
+2001-01-25,20.017868
+2001-01-26,20.726284
+2001-01-29,20.888206
+2001-01-30,20.523878
+2001-01-31,19.774981
+2002-01-02,21.710783
+2002-01-03,22.420008
+2002-01-04,22.313139
+2002-01-07,22.203033
+2002-01-08,22.468584
+2002-01-09,22.251612
+2002-01-10,22.436199
+2002-01-11,22.219221
+2002-01-14,22.173891
+2002-01-15,22.523640
+2002-01-16,21.979582
+2002-01-17,22.624031
+2002-01-18,21.406357
+2002-01-22,20.875252
+2002-01-23,20.642084
+2002-01-24,20.920595
+2002-01-25,20.661514
+2002-01-28,20.667990
+2002-01-29,20.182222
+2002-01-30,20.353863
+2002-01-31,20.632366
+2003-01-02,17.397125
+2003-01-03,17.419794
+2003-01-06,17.737167
+2003-01-07,18.070730
+2003-01-08,17.565525
+2003-01-09,18.073969
+2003-01-10,18.109591
+2003-01-13,18.261801
+2003-01-14,18.449640
+2003-01-15,18.222933
+2003-01-16,17.924994
+2003-01-17,16.665228
+2003-01-21,16.623129
+2003-01-22,16.516260
+2003-01-23,16.930780
+2003-01-24,16.143831
+2003-01-27,15.923609
+2003-01-28,15.810271
+2003-01-29,16.163265
+2003-01-30,15.622429
+2003-01-31,15.369832
+2004-01-02,17.936493
+2004-01-05,18.387360
+2004-01-06,18.452700
+2004-01-07,18.433098
+2004-01-08,18.400431
+2004-01-09,18.073717
+2004-01-12,18.014900
+2004-01-13,17.923429
+2004-01-14,18.099854
+2004-01-15,17.995304
+2004-01-16,18.171734
+2004-01-20,18.361227
+2004-01-21,18.491913
+2004-01-22,18.302418
+2004-01-23,18.609526
+2004-01-26,18.818619
+2004-01-27,18.459234
+2004-01-28,18.106388
+2004-01-29,18.237080
+2004-01-30,18.067186
+2005-01-03,19.531332
+2005-01-04,19.604378
+2005-01-05,19.560547
+2005-01-06,19.538641
+2005-01-07,19.480202
+2005-01-10,19.575153
+2005-01-11,19.524031
+2005-01-12,19.560547
+2005-01-13,19.188038
+2005-01-14,19.078476
+2005-01-18,19.224556
+2005-01-19,18.976217
+2005-01-20,18.888567
+2005-01-21,18.735180
+2005-01-24,18.749788
+2005-01-25,19.005438
+2005-01-26,18.998123
+2005-01-27,19.071171
+2005-01-28,19.122301
+2005-01-31,19.195339
+2006-01-03,19.843754
+2006-01-04,19.939869
+2006-01-05,19.954657
+2006-01-06,19.895512
+2006-01-09,19.858534
+2006-01-10,19.962042
+2006-01-11,20.176456
+2006-01-12,20.065550
+2006-01-13,20.102520
+2006-01-17,19.954657
+2006-01-18,19.836359
+2006-01-19,19.976831
+2006-01-20,19.525837
+2006-01-23,19.481487
+2006-01-24,19.429728
+2006-01-25,19.518444
+2006-01-26,19.592377
+2006-01-27,20.546125
+2006-01-30,20.701380
+2006-01-31,20.812279
+2007-01-03,22.395931
+2007-01-04,22.358421
+2007-01-05,22.230919
+2007-01-08,22.448427
+2007-01-09,22.470930
+2007-01-10,22.245918
+2007-01-11,23.025957
+2007-01-12,23.408472
+2007-01-16,23.370968
+2007-01-17,23.325958
+2007-01-18,23.250961
+2007-01-19,23.333471
+2007-01-22,23.040955
+2007-01-23,23.055954
+2007-01-24,23.318472
+2007-01-25,22.838440
+2007-01-26,22.950956
+2007-01-29,22.898449
+2007-01-30,22.860943
+2007-01-31,23.145956
+2008-01-02,26.775002
+2008-01-03,26.889046
+2008-01-04,26.136414
+2008-01-07,26.311268
+2008-01-08,25.429415
+2008-01-09,26.182018
+2008-01-10,26.098410
+2008-01-11,25.779112
+2008-01-14,26.144011
+2008-01-15,25.847530
+2008-01-16,25.262161
+2008-01-17,25.170931
+2008-01-18,25.094913
+2008-01-22,24.296682
+2008-01-23,24.273874
+2008-01-24,25.277372
+2008-01-25,25.041695
+2008-01-28,24.874449
+2008-01-29,24.783216
+2008-01-30,24.479137
+2008-01-31,24.783216
+2009-01-02,15.740500
+2009-01-05,15.887600
+2009-01-06,16.073427
+2009-01-07,15.105616
+2009-01-08,15.577906
+2009-01-09,15.113352
+2009-01-12,15.074641
+2009-01-13,15.345632
+2009-01-14,14.780430
+2009-01-15,14.896564
+2009-01-16,15.260463
+2009-01-20,14.308137
+2009-01-21,15.004958
+2009-01-22,13.247415
+2009-01-23,13.317096
+2009-01-26,13.650021
+2009-01-27,13.673252
+2009-01-28,13.967465
+2009-01-29,13.619052
+2009-01-30,13.239674
+2010-01-04,24.525019
+2010-01-05,24.532942
+2010-01-06,24.382378
+2010-01-07,24.128809
+2010-01-08,24.295214
+2010-01-11,23.986179
+2010-01-12,23.827694
+2010-01-13,24.049570
+2010-01-14,24.532942
+2010-01-15,24.453693
+2010-01-19,24.643881
+2010-01-20,24.239746
+2010-01-21,23.780155
+2010-01-22,22.948128
+2010-01-25,23.233395
+2010-01-26,23.376024
+2010-01-27,23.510740
+2010-01-28,23.106604
+2010-01-29,22.330048
+2011-01-03,22.633337
+2011-01-04,22.722317
+2011-01-05,22.649515
+2011-01-06,23.312819
+2011-01-07,23.134863
+2011-01-10,22.827475
+2011-01-11,22.738499
+2011-01-12,23.094423
+2011-01-13,22.803205
+2011-01-14,22.892183
+2011-01-18,23.183397
+2011-01-19,23.029699
+2011-01-20,22.932631
+2011-01-21,22.665699
+2011-01-24,22.956902
+2011-01-25,23.013523
+2011-01-26,23.280468
+2011-01-27,23.353268
+2011-01-28,22.447287
+2011-01-31,22.431110
+2012-01-03,22.229851
+2012-01-04,22.753004
+2012-01-05,22.985518
+2012-01-06,23.342588
+2012-01-09,23.035341
+2012-01-10,23.118383
+2012-01-11,23.018732
+2012-01-12,23.251242
+2012-01-13,23.458841
+2012-01-17,23.467148
+2012-01-18,23.442240
+2012-01-19,23.350893
+2012-01-20,24.671228
+2012-01-23,24.687838
+2012-01-24,24.363977
+2012-01-25,24.546675
+2012-01-26,24.496841
+2012-01-27,24.272640
+2012-01-30,24.588192
+2012-01-31,24.521755
+2013-01-02,23.584339
+2013-01-03,23.268398
+2013-01-04,22.832916
+2013-01-07,22.790224
+2013-01-08,22.670679
+2013-01-09,22.798758
+2013-01-10,22.593830
+2013-01-11,22.909767
+2013-01-14,22.961000
+2013-01-15,23.234245
+2013-01-16,23.089081
+2013-01-17,23.268398
+2013-01-18,23.268398
+2013-01-22,23.183010
+2013-01-23,23.575796
+2013-01-24,23.592873
+2013-01-25,23.806347
+2013-01-28,23.831966
+2013-01-29,23.917353
+2013-01-30,23.780729
+2013-01-31,23.439175
+2014-01-02,32.690540
+2014-01-03,32.470615
+2014-01-06,31.784431
+2014-01-07,32.030743
+2014-01-08,31.458933
+2014-01-09,31.256598
+2014-01-10,31.705254
+2014-01-13,30.772743
+2014-01-14,31.476519
+2014-01-15,32.338646
+2014-01-16,32.453022
+2014-01-17,32.004356
+2014-01-21,31.819609
+2014-01-22,31.608477
+2014-01-23,31.722847
+2014-01-24,32.382641
+2014-01-27,31.696459
+2014-01-28,31.907589
+2014-01-29,32.250679
+2014-01-30,32.426628
+2014-01-31,33.288746
+2015-01-02,42.262299
+2015-01-05,41.873657
+2015-01-06,41.259060
+2015-01-07,41.783279
+2015-01-08,43.012459
+2015-01-09,42.650936
+2015-01-12,42.117683
+2015-01-13,41.900768
+2015-01-14,41.539242
+2015-01-15,41.105419
+2015-01-16,41.792316
+2015-01-20,41.927883
+2015-01-21,41.503086
+2015-01-22,42.596706
+2015-01-23,42.641899
+2015-01-26,42.488251
+2015-01-27,38.556660
+2015-01-28,37.228054
+2015-01-29,37.969181
+2015-01-30,36.514050
+2016-01-04,50.877312
+2016-01-05,51.109421
+2016-01-06,50.181000
+2016-01-07,48.435574
+2016-01-08,48.584122
+2016-01-11,48.556263
+2016-01-12,49.001911
+2016-01-13,47.943516
+2016-01-14,49.308292
+2016-01-15,47.340046
+2016-01-19,46.940826
+2016-01-20,47.154358
+2016-01-21,46.866547
+2016-01-22,48.546993
+2016-01-25,48.082779
+2016-01-26,48.435574
+2016-01-27,47.553585
+2016-01-28,48.333450
+2016-01-29,51.146557
+2017-01-03,59.694695
+2017-01-04,59.427597
+2017-01-05,59.427597
+2017-01-06,59.942703
+2017-01-09,59.751923
+2017-01-10,59.732849
+2017-01-11,60.276566
+2017-01-12,59.723312
+2017-01-13,59.809166
+2017-01-17,59.646996
+2017-01-18,59.618385
+2017-01-19,59.427597
+2017-01-20,59.847321
+2017-01-23,60.057171
+2017-01-24,60.591358
+2017-01-25,60.743980
+2017-01-26,61.306767
+2017-01-27,62.747162
+2017-01-30,62.127117
+2017-01-31,61.669258
+2018-01-02,83.817863
+2018-01-03,84.207939
+2018-01-04,84.949089
+2018-01-05,86.002296
+2018-01-08,86.090065
+2018-01-09,86.031555
+2018-01-10,85.641472
+2018-01-11,85.895020
+2018-01-12,87.377327
+2018-01-16,86.158333
+2018-01-17,87.903931
+2018-01-18,87.864922
+2018-01-19,87.767395
+2018-01-22,89.337456
+2018-01-23,89.620255
+2018-01-24,89.542252
+2018-01-25,90.039604
+2018-01-26,91.726685
+2018-01-29,91.590157
+2018-01-30,90.439423
+2018-01-31,92.653114
+2019-01-02,100.318642
+2019-01-03,96.628120
+2019-01-04,101.122223
+2019-01-07,101.251190
+2019-01-08,101.985329
+2019-01-09,103.443672
+2019-01-10,102.778984
+2019-01-11,101.985329
+2019-01-14,101.241272
+2019-01-15,104.177811
+2019-01-16,104.544876
+2019-01-17,105.279022
+2019-01-18,106.856407
+2019-01-22,104.842506
+2019-01-23,105.864342
+2019-01-24,105.358376
+2019-01-25,106.320686
+2019-01-28,104.247253
+2019-01-29,102.124214
+2019-01-30,105.536957
+2019-01-31,103.602409
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/PLD.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,446 @@
+Date,Adj Close
+1998-01-02,9.811740
+1998-01-05,9.713129
+1998-01-06,9.737775
+1998-01-07,9.713129
+1998-01-08,9.688478
+1998-01-09,9.614515
+1998-01-12,9.639169
+1998-01-13,9.688478
+1998-01-14,9.762432
+1998-01-15,9.663822
+1998-01-16,9.663822
+1998-01-20,9.713129
+1998-01-21,9.762432
+1998-01-22,9.737775
+1998-01-23,9.639169
+1998-01-26,9.515908
+1998-01-27,9.565213
+1998-01-28,9.466599
+1998-01-29,9.466599
+1998-01-30,9.663822
+1999-01-04,9.157362
+1999-01-05,9.157362
+1999-01-06,9.314341
+1999-01-07,9.419000
+1999-01-08,9.497493
+1999-01-11,9.419000
+1999-01-12,9.340511
+1999-01-13,9.392837
+1999-01-14,9.445167
+1999-01-15,9.209690
+1999-01-19,9.445167
+1999-01-20,9.445167
+1999-01-21,9.602147
+1999-01-22,9.575984
+1999-01-25,9.471327
+1999-01-26,9.340511
+1999-01-27,9.366674
+1999-01-28,9.000380
+1999-01-29,9.262017
+2000-01-03,8.872816
+2000-01-04,8.732869
+2000-01-05,8.620905
+2000-01-06,8.788848
+2000-01-07,8.956784
+2000-01-10,9.012768
+2000-01-11,9.040760
+2000-01-12,8.956784
+2000-01-13,8.928800
+2000-01-14,8.844831
+2000-01-18,8.984777
+2000-01-19,9.040760
+2000-01-20,9.096737
+2000-01-21,9.152714
+2000-01-24,9.124728
+2000-01-25,9.152714
+2000-01-26,9.180706
+2000-01-27,9.208697
+2000-01-28,9.180706
+2000-01-31,9.152714
+2001-01-02,12.197951
+2001-01-03,12.168124
+2001-01-04,11.989179
+2001-01-05,11.840064
+2001-01-08,11.780413
+2001-01-09,11.810237
+2001-01-10,11.810237
+2001-01-11,11.810237
+2001-01-12,11.780413
+2001-01-16,11.810237
+2001-01-17,11.750591
+2001-01-18,11.780413
+2001-01-19,11.571651
+2001-01-22,11.631292
+2001-01-23,11.571651
+2001-01-24,11.512005
+2001-01-25,11.512005
+2001-01-26,11.482175
+2001-01-29,11.566874
+2001-01-30,11.667088
+2001-01-31,11.762519
+2002-01-02,13.235855
+2002-01-03,13.362883
+2002-01-04,13.347635
+2002-01-07,13.306987
+2002-01-08,13.215536
+2002-01-09,13.246017
+2002-01-10,13.134239
+2002-01-11,13.235855
+2002-01-14,13.362883
+2002-01-15,13.337479
+2002-01-16,13.342554
+2002-01-17,13.337479
+2002-01-18,13.261269
+2002-01-22,13.205372
+2002-01-23,13.134239
+2002-01-24,13.078347
+2002-01-25,13.108836
+2002-01-28,12.971647
+2002-01-29,12.834463
+2002-01-30,12.864947
+2002-01-31,13.012298
+2003-01-02,14.605156
+2003-01-03,14.890370
+2003-01-06,15.051809
+2003-01-07,14.874225
+2003-01-08,14.804268
+2003-01-09,14.718166
+2003-01-10,14.621299
+2003-01-13,14.632063
+2003-01-14,14.589019
+2003-01-15,14.368374
+2003-01-16,14.045489
+2003-01-17,13.991680
+2003-01-21,14.045489
+2003-01-22,14.034727
+2003-01-23,14.126214
+2003-01-24,14.449097
+2003-01-27,14.449097
+2003-01-28,14.449097
+2003-01-29,14.589019
+2003-01-30,14.529819
+2003-01-31,14.879606
+2004-01-02,18.769844
+2004-01-05,18.826740
+2004-01-06,18.872255
+2004-01-07,18.821049
+2004-01-08,18.821049
+2004-01-09,18.917772
+2004-01-12,18.946220
+2004-01-13,18.775534
+2004-01-14,19.225016
+2004-01-15,19.259146
+2004-01-16,19.162424
+2004-01-20,19.372936
+2004-01-21,19.367250
+2004-01-22,19.554998
+2004-01-23,19.845175
+2004-01-26,19.964651
+2004-01-27,20.061377
+2004-01-28,20.027235
+2004-01-29,19.839479
+2004-01-30,19.884998
+2005-01-03,24.124481
+2005-01-04,24.112566
+2005-01-05,23.123756
+2005-01-06,23.338200
+2005-01-07,23.284590
+2005-01-10,23.099937
+2005-01-11,22.843796
+2005-01-12,22.575750
+2005-01-13,22.706785
+2005-01-14,22.814011
+2005-01-18,23.254805
+2005-01-19,23.469240
+2005-01-20,23.290543
+2005-01-21,23.350121
+2005-01-24,23.385843
+2005-01-25,22.825932
+2005-01-26,22.545963
+2005-01-27,22.152821
+2005-01-28,22.152821
+2005-01-31,22.176649
+2006-01-03,30.868153
+2006-01-04,30.775072
+2006-01-05,30.775072
+2006-01-06,31.066700
+2006-01-09,31.116318
+2006-01-10,31.643728
+2006-01-11,31.637527
+2006-01-12,31.519623
+2006-01-13,30.930191
+2006-01-17,30.868153
+2006-01-18,30.601345
+2006-01-19,31.134939
+2006-01-20,30.880543
+2006-01-23,31.110121
+2006-01-24,31.649927
+2006-01-25,31.469999
+2006-01-26,31.587877
+2006-01-27,31.742990
+2006-01-30,31.910521
+2006-01-31,32.388290
+2007-01-03,37.488686
+2007-01-04,37.206329
+2007-01-05,36.417034
+2007-01-08,36.307934
+2007-01-09,36.757118
+2007-01-10,37.296158
+2007-01-11,37.841614
+2007-01-12,38.014881
+2007-01-16,38.444832
+2007-01-17,38.348587
+2007-01-18,38.085476
+2007-01-19,38.502583
+2007-01-22,37.777447
+2007-01-23,38.156059
+2007-01-24,38.855518
+2007-01-25,38.900436
+2007-01-26,38.727184
+2007-01-29,38.874786
+2007-01-30,38.817009
+2007-01-31,39.048035
+2008-01-02,37.482513
+2008-01-03,35.151066
+2008-01-04,33.895664
+2008-01-07,34.081657
+2008-01-08,33.596779
+2008-01-09,33.264652
+2008-01-10,34.114872
+2008-01-11,34.194588
+2008-01-14,34.506760
+2008-01-15,33.782753
+2008-01-16,34.686096
+2008-01-17,33.317799
+2008-01-18,32.766479
+2008-01-22,32.826275
+2008-01-23,35.968079
+2008-01-24,35.197575
+2008-01-25,34.878738
+2008-01-28,36.685444
+2008-01-29,35.317123
+2008-01-30,32.766479
+2008-01-31,33.590126
+2009-01-02,15.815009
+2009-01-05,15.609353
+2009-01-06,17.748182
+2009-01-07,16.678770
+2009-01-08,16.233181
+2009-01-09,15.636778
+2009-01-12,14.101203
+2009-01-13,14.368559
+2009-01-14,12.798712
+2009-01-15,12.689029
+2009-01-16,13.422539
+2009-01-20,10.844973
+2009-01-21,12.558776
+2009-01-22,12.305132
+2009-01-23,13.024931
+2009-01-26,12.373686
+2009-01-27,12.620479
+2009-01-28,14.334287
+2009-01-29,11.969229
+2009-01-30,11.050627
+2010-01-04,18.424084
+2010-01-05,18.692774
+2010-01-06,18.525745
+2010-01-07,18.678249
+2010-01-08,18.627413
+2010-01-11,18.649206
+2010-01-12,18.235266
+2010-01-13,18.729086
+2010-01-14,18.656464
+2010-01-15,18.569319
+2010-01-19,18.932426
+2010-01-20,18.489437
+2010-01-21,17.610714
+2010-01-22,17.196774
+2010-01-25,17.211296
+2010-01-26,17.610714
+2010-01-27,17.901197
+2010-01-28,17.443684
+2010-01-29,17.429155
+2011-01-03,24.461246
+2011-01-04,24.415825
+2011-01-05,24.832212
+2011-01-06,24.801926
+2011-01-07,24.605093
+2011-01-10,24.748932
+2011-01-11,24.552092
+2011-01-12,24.574808
+2011-01-13,24.453674
+2011-01-14,24.605093
+2011-01-18,25.150188
+2011-01-19,24.733793
+2011-01-20,25.082052
+2011-01-21,25.218325
+2011-01-24,25.210756
+2011-01-25,25.119909
+2011-01-26,24.877636
+2011-01-27,25.748280
+2011-01-28,24.930635
+2011-01-31,25.400024
+2012-01-03,22.977673
+2012-01-04,22.396158
+2012-01-05,22.977673
+2012-01-06,22.624050
+2012-01-09,22.419727
+2012-01-10,23.032677
+2012-01-11,23.276281
+2012-01-12,23.354868
+2012-01-13,23.236994
+2012-01-17,23.999247
+2012-01-18,24.148561
+2012-01-19,24.596478
+2012-01-20,24.973679
+2012-01-23,24.997252
+2012-01-24,25.288010
+2012-01-25,25.437315
+2012-01-26,25.578768
+2012-01-27,25.555197
+2012-01-30,24.832230
+2012-01-31,24.918669
+2013-01-02,30.327795
+2013-01-03,30.368391
+2013-01-04,30.620113
+2013-01-07,30.823109
+2013-01-08,30.725679
+2013-01-09,31.034225
+2013-01-10,30.888065
+2013-01-11,31.082952
+2013-01-14,31.099190
+2013-01-15,31.237225
+2013-01-16,31.220991
+2013-01-17,31.440220
+2013-01-18,32.073574
+2013-01-22,31.927422
+2013-01-23,32.187252
+2013-01-24,32.625721
+2013-01-25,32.999237
+2013-01-28,33.234715
+2013-01-29,33.080437
+2013-01-30,32.520164
+2013-01-31,32.398369
+2014-01-02,30.868895
+2014-01-03,31.144878
+2014-01-06,31.278698
+2014-01-07,31.554684
+2014-01-08,31.512861
+2014-01-09,31.111425
+2014-01-10,31.445957
+2014-01-13,30.735075
+2014-01-14,31.128147
+2014-01-15,31.370689
+2014-01-16,31.186701
+2014-01-17,30.927439
+2014-01-21,31.228510
+2014-01-22,31.571409
+2014-01-23,31.295418
+2014-01-24,30.726719
+2014-01-27,30.534357
+2014-01-28,31.136513
+2014-01-29,30.952526
+2014-01-30,32.457928
+2014-01-31,32.416103
+2015-01-02,37.514202
+2015-01-05,37.488285
+2015-01-06,37.617855
+2015-01-07,38.187950
+2015-01-08,38.196587
+2015-01-09,38.136127
+2015-01-12,38.524822
+2015-01-13,37.756062
+2015-01-14,37.764690
+2015-01-15,37.807884
+2015-01-16,38.136127
+2015-01-20,37.868343
+2015-01-21,38.032455
+2015-01-22,38.973984
+2015-01-23,39.138115
+2015-01-26,39.604565
+2015-01-27,40.710209
+2015-01-28,40.096912
+2015-01-29,39.941433
+2015-01-30,38.991264
+2016-01-04,37.588013
+2016-01-05,38.377441
+2016-01-06,38.171112
+2016-01-07,37.175350
+2016-01-08,36.843430
+2016-01-11,36.798569
+2016-01-12,36.502525
+2016-01-13,36.332081
+2016-01-14,35.569565
+2016-01-15,34.816010
+2016-01-19,35.022335
+2016-01-20,33.560085
+2016-01-21,33.847149
+2016-01-22,34.618652
+2016-01-25,34.286716
+2016-01-26,35.748974
+2016-01-27,35.408089
+2016-01-28,34.878803
+2016-01-29,35.408089
+2017-01-03,49.046009
+2017-01-04,49.919178
+2017-01-05,49.937763
+2017-01-06,50.262882
+2017-01-09,49.882027
+2017-01-10,48.739475
+2017-01-11,48.535118
+2017-01-12,48.943836
+2017-01-13,48.581562
+2017-01-17,48.795212
+2017-01-18,49.092464
+2017-01-19,49.008854
+2017-01-20,48.832371
+2017-01-23,49.073887
+2017-01-24,48.144985
+2017-01-25,48.107826
+2017-01-26,47.318256
+2017-01-27,45.748413
+2017-01-30,45.274677
+2017-01-31,45.376850
+2018-01-02,61.278286
+2018-01-03,61.163406
+2018-01-04,59.938030
+2018-01-05,59.890171
+2018-01-08,60.589012
+2018-01-09,59.976326
+2018-01-10,58.817963
+2018-01-11,59.019009
+2018-01-12,59.210464
+2018-01-16,59.488091
+2018-01-17,60.177364
+2018-01-18,58.808392
+2018-01-19,59.143456
+2018-01-22,60.416695
+2018-01-23,62.197327
+2018-01-24,61.728233
+2018-01-25,61.479324
+2018-01-26,61.642071
+2018-01-29,60.684742
+2018-01-30,60.215656
+2018-01-31,62.331341
+2019-01-02,56.231773
+2019-01-03,55.778210
+2019-01-04,57.188198
+2019-01-07,58.115040
+2019-01-08,60.047611
+2019-01-09,60.451870
+2019-01-10,61.506893
+2019-01-11,61.487171
+2019-01-14,61.477310
+2019-01-15,62.325272
+2019-01-16,62.650658
+2019-01-17,63.153522
+2019-01-18,63.794418
+2019-01-22,63.873299
+2019-01-23,64.159241
+2019-01-24,63.824001
+2019-01-25,65.086082
+2019-01-28,65.776283
+2019-01-29,66.594673
+2019-01-30,67.432770
+2019-01-31,68.191994
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/PSA.csv Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,807 @@
+Date,Adj Close
+1981-01-02,1.889880
+1981-01-05,1.926937
+1981-01-06,1.926937
+1981-01-07,1.815768
+1981-01-08,1.852824
+1981-01-09,1.926937
+1981-01-12,1.926937
+1981-01-13,2.001050
+1981-01-14,2.038106
+1981-01-15,2.038106
+1981-01-16,2.038106
+1981-01-19,2.038106
+1981-01-20,2.001050
+1981-01-21,2.038106
+1981-01-22,2.001050
+1981-01-23,2.038106
+1981-01-26,2.001050
+1981-01-27,2.038106
+1981-01-28,2.001050
+1981-01-29,2.001050
+1981-01-30,2.001050
+1982-01-04,1.741655
+1982-01-05,1.741655
+1982-01-06,1.741655
+1982-01-07,1.741655
+1982-01-08,1.704599
+1982-01-11,1.704599
+1982-01-12,1.704599
+1982-01-13,1.667542
+1982-01-14,1.667542
+1982-01-15,1.704599
+1982-01-18,1.741655
+1982-01-19,1.778710
+1982-01-20,1.852824
+1982-01-21,1.852824
+1982-01-22,1.926937
+1982-01-25,1.926937
+1982-01-26,1.815768
+1982-01-27,1.852824
+1982-01-28,1.889880
+1982-01-29,1.889880
+1983-01-03,2.353087
+1983-01-04,2.260447
+1983-01-05,2.390144
+1983-01-06,2.334558
+1983-01-07,2.278974
+1983-01-10,2.334558
+1983-01-11,2.353087
+1983-01-12,2.371616
+1983-01-13,2.427200
+1983-01-14,2.482784
+1983-01-17,2.445728
+1983-01-18,2.464254
+1983-01-19,2.445728
+1983-01-20,2.556897
+1983-01-21,2.464254
+1983-01-24,2.445728
+1983-01-25,2.427200
+1983-01-26,2.371616
+1983-01-27,2.390144
+1983-01-28,2.445728
+1983-01-31,2.445728
+1984-01-03,2.445728
+1984-01-04,2.519840
+1984-01-05,2.538371
+1984-01-06,2.556897
+1984-01-09,2.538371
+1984-01-10,2.575426
+1984-01-11,2.538371
+1984-01-12,2.538371
+1984-01-13,2.556897
+1984-01-16,2.556897
+1984-01-17,2.519840
+1984-01-18,2.538371
+1984-01-19,2.519840
+1984-01-20,2.519840
+1984-01-23,2.519840
+1984-01-24,2.556897
+1984-01-25,2.538371
+1984-01-26,2.556897
+1984-01-27,2.519840
+1984-01-30,2.501312
+1984-01-31,2.501312
+1985-01-02,2.649539
+1985-01-03,2.649539
+1985-01-04,2.649539
+1985-01-07,2.649539
+1985-01-08,2.649539
+1985-01-09,2.649539
+1985-01-10,2.668065
+1985-01-11,2.686595
+1985-01-14,2.668065
+1985-01-15,2.668065
+1985-01-16,2.668065
+1985-01-17,2.668065
+1985-01-18,2.668065
+1985-01-21,2.668065
+1985-01-22,2.668065
+1985-01-23,2.668065
+1985-01-24,2.705122
+1985-01-25,2.723651
+1985-01-28,2.736573
+1985-01-29,2.736573
+1985-01-30,2.736573
+1985-01-31,2.698566
+1986-01-02,2.996329
+1986-01-03,3.057478
+1986-01-06,3.098244
+1986-01-07,3.098244
+1986-01-08,3.077862
+1986-01-09,3.077862
+1986-01-10,3.057478
+1986-01-13,3.077862
+1986-01-14,3.077862
+1986-01-15,3.077862
+1986-01-16,3.098244
+1986-01-17,3.098244
+1986-01-20,3.077862
+1986-01-21,3.077862
+1986-01-22,3.118627
+1986-01-23,3.118627
+1986-01-24,3.037095
+1986-01-27,2.894411
+1986-01-28,2.812879
+1986-01-29,2.914796
+1986-01-30,2.874029
+1986-01-31,2.935178
+1987-01-02,2.781134
+1987-01-05,2.781134
+1987-01-06,2.825990
+1987-01-07,2.825990
+1987-01-08,2.781134
+1987-01-09,2.781134
+1987-01-12,2.825990
+1987-01-13,2.781134
+1987-01-14,2.781134
+1987-01-15,2.781134
+1987-01-16,2.736277
+1987-01-19,2.758707
+1987-01-20,2.758707
+1987-01-21,2.713849
+1987-01-22,2.736277
+1987-01-23,2.691421
+1987-01-26,2.691421
+1987-01-27,2.691421
+1987-01-28,2.691421
+1987-01-29,2.713849
+1987-01-30,2.713849
+1988-01-04,2.184629
+1988-01-05,2.259105
+1988-01-06,2.308755
+1988-01-07,2.432882
+1988-01-08,2.358406
+1988-01-11,2.358406
+1988-01-12,2.358406
+1988-01-13,2.482533
+1988-01-14,2.482533
+1988-01-15,2.557009
+1988-01-18,2.532183
+1988-01-19,2.581835
+1988-01-20,2.532183
+1988-01-21,2.457708
+1988-01-22,2.532183
+1988-01-25,2.507359
+1988-01-26,2.482533
+1988-01-27,2.532183
+1988-01-28,2.532183
+1988-01-29,2.581835
+1989-01-03,2.488052
+1989-01-04,2.543964
+1989-01-05,2.488052
+1989-01-06,2.543964
+1989-01-09,2.516008
+1989-01-10,2.571919
+1989-01-11,2.543964
+1989-01-12,2.571919
+1989-01-13,2.627831
+1989-01-16,2.571919
+1989-01-17,2.599875
+1989-01-18,2.543964
+1989-01-19,2.571919
+1989-01-20,2.571919
+1989-01-23,2.571919
+1989-01-24,2.599875
+1989-01-25,2.599875
+1989-01-26,2.571919
+1989-01-27,2.599875
+1989-01-30,2.599875
+1989-01-31,2.599875
+1990-01-02,2.747114
+1990-01-03,2.778330
+1990-01-04,2.778330
+1990-01-05,2.747114
+1990-01-08,2.840765
+1990-01-09,2.840765
+1990-01-10,2.778330
+1990-01-11,2.809547
+1990-01-12,2.747114
+1990-01-15,2.747114
+1990-01-16,2.747114
+1990-01-17,2.778330
+1990-01-18,2.747114
+1990-01-19,2.715895
+1990-01-22,2.747114
+1990-01-23,2.684679
+1990-01-24,2.684679
+1990-01-25,2.653461
+1990-01-26,2.684679
+1990-01-29,2.622245
+1990-01-30,2.653461
+1990-01-31,2.684679
+1991-01-02,1.773775
+1991-01-03,1.773775
+1991-01-04,1.773775
+1991-01-07,1.807886
+1991-01-08,1.773775
+1991-01-09,1.773775
+1991-01-10,1.773775
+1991-01-11,1.773775
+1991-01-14,1.807886
+1991-01-15,1.807886
+1991-01-16,1.773775
+1991-01-17,1.773775
+1991-01-18,1.773775
+1991-01-21,1.807886
+1991-01-22,1.773775
+1991-01-23,1.773775
+1991-01-24,1.807886
+1991-01-25,1.841997
+1991-01-28,1.841997
+1991-01-29,1.807886
+1991-01-30,1.876108
+1991-01-31,1.944330
+1992-01-02,2.552906
+1992-01-03,2.514225
+1992-01-06,2.514225
+1992-01-07,2.514225
+1992-01-08,2.514225
+1992-01-09,2.630268
+1992-01-10,2.668947
+1992-01-13,2.707628
+1992-01-14,2.668947
+1992-01-15,2.668947
+1992-01-16,2.668947
+1992-01-17,2.707628
+1992-01-20,2.707628
+1992-01-21,2.746308
+1992-01-22,2.784989
+1992-01-23,2.862349
+1992-01-24,2.823670
+1992-01-27,2.823670
+1992-01-28,2.901031
+1992-01-29,2.862349
+1992-01-30,2.939710
+1992-01-31,3.017071
+1993-01-04,3.173428
+1993-01-05,3.088803
+1993-01-06,3.131114
+1993-01-07,3.258051
+1993-01-08,3.173428
+1993-01-11,3.215739
+1993-01-12,3.342675
+1993-01-13,3.342675
+1993-01-14,3.300364
+1993-01-15,3.342675
+1993-01-18,3.342675
+1993-01-19,3.342675
+1993-01-20,3.342675
+1993-01-21,3.384988
+1993-01-22,3.384988
+1993-01-25,3.427301
+1993-01-26,3.384988
+1993-01-27,3.384988
+1993-01-28,3.342675
+1993-01-29,3.384988
+1994-01-03,5.112198
+1994-01-04,5.157436
+1994-01-05,5.202678
+1994-01-06,5.157436
+1994-01-07,5.112198
+1994-01-10,5.202678
+1994-01-11,5.202678
+1994-01-12,5.338400
+1994-01-13,5.247919
+1994-01-14,5.293161
+1994-01-17,5.338400
+1994-01-18,5.338400
+1994-01-19,5.338400
+1994-01-20,5.383643
+1994-01-21,5.383643
+1994-01-24,5.383643
+1994-01-25,5.428881
+1994-01-26,5.383643
+1994-01-27,5.428881
+1994-01-28,5.655082
+1994-01-31,5.655082
+1995-01-03,5.415874
+1995-01-04,5.463801
+1995-01-05,5.272088
+1995-01-06,5.224163
+1995-01-09,5.320018
+1995-01-10,5.272088
+1995-01-11,5.415874
+1995-01-12,5.415874
+1995-01-13,5.511728
+1995-01-16,5.511728
+1995-01-17,5.415874
+1995-01-18,5.320018
+1995-01-19,5.320018
+1995-01-20,5.272088
+1995-01-23,5.272088
+1995-01-24,5.272088
+1995-01-25,5.367946
+1995-01-26,5.415874
+1995-01-27,5.320018
+1995-01-30,5.415874
+1995-01-31,5.367946
+1996-01-02,8.075198
+1996-01-03,8.024091
+1996-01-04,7.921875
+1996-01-05,7.921875
+1996-01-08,7.921875
+1996-01-09,7.921875
+1996-01-10,8.075198
+1996-01-11,7.972983
+1996-01-12,8.075198
+1996-01-15,8.075198
+1996-01-16,8.177417
+1996-01-17,8.228529
+1996-01-18,8.177417
+1996-01-19,8.177417
+1996-01-22,8.177417
+1996-01-23,8.177417
+1996-01-24,8.228529
+1996-01-25,8.279634
+1996-01-26,8.177417
+1996-01-29,8.177417
+1996-01-30,8.228529
+1996-01-31,8.330747
+1997-01-02,12.489216
+1997-01-03,12.436076
+1997-01-06,12.595507
+1997-01-07,12.436076
+1997-01-08,12.329779
+1997-01-09,12.329779
+1997-01-10,12.329779
+1997-01-13,12.436076
+1997-01-14,12.542361
+1997-01-15,12.489216
+1997-01-16,12.382926
+1997-01-17,12.276634
+1997-01-20,12.276634
+1997-01-21,12.276634
+1997-01-22,12.329779
+1997-01-23,12.489216
+1997-01-24,12.329779
+1997-01-27,12.276634
+1997-01-28,12.223484
+1997-01-29,12.223484
+1997-01-30,12.382926
+1997-01-31,12.436076
+1998-01-02,12.666902
+1998-01-05,12.749154
+1998-01-06,12.803991
+1998-01-07,12.995911
+1998-01-08,13.023327
+1998-01-09,13.242665
+1998-01-12,13.215254
+1998-01-13,13.873270
+1998-01-14,14.010361
+1998-01-15,14.284536
+1998-01-16,14.476459
+1998-01-20,14.668381
+1998-01-21,14.339367
+1998-01-22,14.366785
+1998-01-23,14.421625
+1998-01-26,14.366785
+1998-01-27,14.339367
+1998-01-28,14.339367
+1998-01-29,14.257115
+1998-01-30,14.421625
+1999-01-04,12.405654
+1999-01-05,12.518947
+1999-01-06,12.462304
+1999-01-07,12.320683
+1999-01-08,12.235718
+1999-01-11,12.207394
+1999-01-12,12.122423
+1999-01-13,11.980802
+1999-01-14,11.867511
+1999-01-15,11.782541
+1999-01-19,11.895833
+1999-01-20,12.009127
+1999-01-21,12.065772
+1999-01-22,12.065772
+1999-01-25,12.037451
+1999-01-26,11.952479
+1999-01-27,11.810866
+1999-01-28,11.782541
+1999-01-29,11.527629
+2000-01-03,10.948202
+2000-01-04,10.948202
+2000-01-05,11.038432
+2000-01-06,11.459517
+2000-01-07,11.609905
+2000-01-10,11.850524
+2000-01-11,11.730213
+2000-01-12,11.760294
+2000-01-13,11.639980
+2000-01-14,11.609905
+2000-01-18,11.429443
+2000-01-19,11.339208
+2000-01-20,11.248977
+2000-01-21,11.008357
+2000-01-24,11.068510
+2000-01-25,11.008357
+2000-01-26,11.128669
+2000-01-27,11.008357
+2000-01-28,10.888044
+2000-01-31,10.918121
+2001-01-02,12.392298
+2001-01-03,12.648472
+2001-01-04,12.904641
+2001-01-05,12.776559
+2001-01-08,12.776559
+2001-01-09,12.808579
+2001-01-10,12.872622
+2001-01-11,12.904641
+2001-01-12,12.904641
+2001-01-16,13.064748
+2001-01-17,13.128789
+2001-01-18,13.192834
+2001-01-19,13.352940
+2001-01-22,13.352940
+2001-01-23,13.384963
+2001-01-24,13.320920
+2001-01-25,13.384963
+2001-01-26,13.449003
+2001-01-29,13.341415
+2001-01-30,13.397770
+2001-01-31,13.320920
+2002-01-02,18.549711
+2002-01-03,18.812902
+2002-01-04,18.917086
+2002-01-07,18.845806
+2002-01-08,18.862255
+2002-01-09,18.889671
+2002-01-10,18.873215
+2002-01-11,18.971918
+2002-01-14,19.240601
+2002-01-15,19.410578
+2002-01-16,19.520233
+2002-01-17,19.739557
+2002-01-18,19.684729
+2002-01-22,19.646349
+2002-01-23,19.629902
+2002-01-24,19.799887
+2002-01-25,19.904064
+2002-01-28,19.958899
+2002-01-29,20.019213
+2002-01-30,20.205631
+2002-01-31,20.074049
+2003-01-02,18.846672
+2003-01-03,18.962343
+2003-01-06,19.309311
+2003-01-07,19.083775
+2003-01-08,18.910288
+2003-01-09,18.788855
+2003-01-10,18.696323
+2003-01-13,18.517044
+2003-01-14,18.499695
+2003-01-15,18.343555
+2003-01-16,18.077541
+2003-01-17,17.857788
+2003-01-21,17.869364
+2003-01-22,17.799963
+2003-01-23,17.956099
+2003-01-24,17.609121
+2003-01-27,17.574421
+2003-01-28,17.568645
+2003-01-29,17.840441
+2003-01-30,17.643824
+2003-01-31,17.898273
+2004-01-02,26.707638
+2004-01-05,26.628735
+2004-01-06,26.683348
+2004-01-07,26.628735
+2004-01-08,26.822960
+2004-01-09,27.102179
+2004-01-12,27.065769
+2004-01-13,27.005058
+2004-01-14,27.114323
+2004-01-15,27.308559
+2004-01-16,26.974701
+2004-01-20,27.083969
+2004-01-21,27.314619
+2004-01-22,27.478516
+2004-01-23,27.757732
+2004-01-26,28.510395
+2004-01-27,28.467916
+2004-01-28,28.285816
+2004-01-29,28.510395
+2004-01-30,28.838165
+2005-01-03,34.792522
+2005-01-04,34.352119
+2005-01-05,33.125275
+2005-01-06,33.219643
+2005-01-07,33.376926
+2005-01-10,33.251091
+2005-01-11,33.106388
+2005-01-12,33.100094
+2005-01-13,33.295132
+2005-01-14,33.496479
+2005-01-18,34.647835
+2005-01-19,34.452801
+2005-01-20,34.320667
+2005-01-21,34.289207
+2005-01-24,34.157089
+2005-01-25,33.452431
+2005-01-26,33.628593
+2005-01-27,33.163013
+2005-01-28,33.458725
+2005-01-31,33.037182
+2006-01-03,45.333504
+2006-01-04,45.508457
+2006-01-05,46.299015
+2006-01-06,46.616520
+2006-01-09,47.160835
+2006-01-10,47.523708
+2006-01-11,47.627392
+2006-01-12,47.407085
+2006-01-13,46.428608
+2006-01-17,46.299015
+2006-01-18,45.806545
+2006-01-19,46.428608
+2006-01-20,45.547348
+2006-01-23,45.955589
+2006-01-24,46.221256
+2006-01-25,46.337894
+2006-01-26,46.331417
+2006-01-27,47.076607
+2006-01-30,46.668362
+2006-01-31,47.024769
+2007-01-03,65.819901
+2007-01-04,65.328812
+2007-01-05,64.406326
+2007-01-08,64.638603
+2007-01-09,65.567703
+2007-01-10,67.060898
+2007-01-11,67.903702
+2007-01-12,68.341736
+2007-01-16,69.589378
+2007-01-17,69.310646
+2007-01-18,68.905823
+2007-01-19,69.098297
+2007-01-22,68.089539
+2007-01-23,68.381523
+2007-01-24,69.151375
+2007-01-25,69.609276
+2007-01-26,70.193275
+2007-01-29,70.352539
+2007-01-30,71.407730
+2007-01-31,72.177551
+2008-01-02,50.336308
+2008-01-03,49.336914
+2008-01-04,47.528515
+2008-01-07,47.535301
+2008-01-08,45.400566
+2008-01-09,47.229378
+2008-01-10,48.765846
+2008-01-11,48.854221
+2008-01-14,49.663242
+2008-01-15,48.793015
+2008-01-16,49.078575
+2008-01-17,48.969807
+2008-01-18,48.962994
+2008-01-22,50.608246
+2008-01-23,54.694176
+2008-01-24,53.558796
+2008-01-25,52.294262
+2008-01-28,54.320232
+2008-01-29,53.456814
+2008-01-30,52.375843
+2008-01-31,53.137299
+2009-01-02,53.196606
+2009-01-05,50.740200
+2009-01-06,52.140839
+2009-01-07,48.748325
+2009-01-08,47.615120
+2009-01-09,46.179279
+2009-01-12,44.863083
+2009-01-13,45.623238
+2009-01-14,44.292965
+2009-01-15,45.461346
+2009-01-16,47.396927
+2009-01-20,42.174404
+2009-01-21,46.869053
+2009-01-22,43.490593
+2009-01-23,44.954586
+2009-01-26,45.123524
+2009-01-27,46.017395
+2009-01-28,49.262135
+2009-01-29,44.813812
+2009-01-30,43.546894
+2010-01-04,58.310551
+2010-01-05,58.790852
+2010-01-06,58.434273
+2010-01-07,58.354229
+2010-01-08,57.291790
+2010-01-11,57.684753
+2010-01-12,56.746029
+2010-01-13,57.866669
+2010-01-14,57.575592
+2010-01-15,57.466419
+2010-01-19,58.681686
+2010-01-20,58.034058
+2010-01-21,57.299049
+2010-01-22,56.520432
+2010-01-25,57.313610
+2010-01-26,57.000690
+2010-01-27,58.186878
+2010-01-28,57.160801
+2010-01-29,57.619263
+2011-01-03,77.798035
+2011-01-04,75.889343
+2011-01-05,76.640785
+2011-01-06,76.475456
+2011-01-07,76.452927
+2011-01-10,75.987022
+2011-01-11,75.709000
+2011-01-12,76.122292
+2011-01-13,76.918839
+2011-01-14,77.940804
+2011-01-18,78.782440
+2011-01-19,77.865669
+2011-01-20,78.121140
+2011-01-21,79.293411
+2011-01-24,78.992859
+2011-01-25,80.210205
+2011-01-26,80.405579
+2011-01-27,81.547791
+2011-01-28,80.007309
+2011-01-31,81.893448
+2012-01-03,104.787773
+2012-01-04,101.819077
+2012-01-05,103.113510
+2012-01-06,102.532173
+2012-01-09,102.408150
+2012-01-10,103.578590
+2012-01-11,104.035904
+2012-01-12,103.679344
+2012-01-13,104.594002
+2012-01-17,104.539719
+2012-01-18,105.066803
+2012-01-19,105.152077
+2012-01-20,105.283836
+2012-01-23,105.400101
+2012-01-24,105.105545
+2012-01-25,105.345840
+2012-01-26,105.919418
+2012-01-27,106.593788
+2012-01-30,106.314713
+2012-01-31,107.632446
+2013-01-02,116.882683
+2013-01-03,116.450630
+2013-01-04,116.986671
+2013-01-07,116.770668
+2013-01-08,115.978607
+2013-01-09,116.402603
+2013-01-10,117.034683
+2013-01-11,117.650734
+2013-01-14,117.058685
+2013-01-15,118.146790
+2013-01-16,118.378807
+2013-01-17,118.482796
+2013-01-18,120.218948
+2013-01-22,120.747009
+2013-01-23,120.667023
+2013-01-24,121.395065
+2013-01-25,122.171120
+2013-01-28,122.763184
+2013-01-29,123.387260
+2013-01-30,123.067238
+2013-01-31,123.155243
+2014-01-02,123.236137
+2014-01-03,124.195862
+2014-01-06,124.129692
+2014-01-07,123.989037
+2014-01-08,124.212479
+2014-01-09,126.628342
+2014-01-10,127.629456
+2014-01-13,127.381226
+2014-01-14,128.845688
+2014-01-15,128.274796
+2014-01-16,129.077347
+2014-01-17,128.216888
+2014-01-21,128.266525
+2014-01-22,128.506454
+2014-01-23,127.794968
+2014-01-24,126.107132
+2014-01-27,126.280846
+2014-01-28,128.018341
+2014-01-29,127.836304
+2014-01-30,129.739227
+2014-01-31,130.384567
+2015-01-02,159.990204
+2015-01-05,160.742218
+2015-01-06,163.485168
+2015-01-07,166.834869
+2015-01-08,169.107864
+2015-01-09,169.620605
+2015-01-12,169.321503
+2015-01-13,169.979446
+2015-01-14,169.894028
+2015-01-15,170.423813
+2015-01-16,172.825027
+2015-01-20,173.107010
+2015-01-21,171.765427
+2015-01-22,175.362930
+2015-01-23,173.252228
+2015-01-26,174.653687
+2015-01-27,174.892914
+2015-01-28,173.260788
+2015-01-29,174.482742
+2015-01-30,171.620148
+2016-01-04,215.670105
+2016-01-05,221.759705
+2016-01-06,222.112793
+2016-01-07,219.800446
+2016-01-08,218.194199
+2016-01-11,220.347672
+2016-01-12,220.788910
+2016-01-13,220.065247
+2016-01-14,220.400589
+2016-01-15,219.359177
+2016-01-19,221.027222
+2016-01-20,212.069290
+2016-01-21,212.748825
+2016-01-22,218.635498
+2016-01-25,218.441315
+2016-01-26,223.701355
+2016-01-27,219.032654
+2016-01-28,219.809280
+2016-01-29,223.780777
+2017-01-03,203.592209
+2017-01-04,205.086014
+2017-01-05,207.272064
+2017-01-06,207.991638
+2017-01-09,206.570694
+2017-01-10,205.213577
+2017-01-11,200.167450
+2017-01-12,197.926788
+2017-01-13,195.030273
+2017-01-17,198.281998
+2017-01-18,196.378357
+2017-01-19,196.132401
+2017-01-20,198.537033
+2017-01-23,200.613770
+2017-01-24,202.562988
+2017-01-25,199.393250
+2017-01-26,198.792099
+2017-01-27,197.261856
+2017-01-30,195.822723
+2017-01-31,195.831818
+2018-01-02,195.149918
+2018-01-03,195.575562
+2018-01-04,192.113693
+2018-01-05,190.988129
+2018-01-08,192.510956
+2018-01-09,190.259796
+2018-01-10,185.492676
+2018-01-11,185.502121
+2018-01-12,183.071289
+2018-01-16,183.260452
+2018-01-17,185.095428
+2018-01-18,182.787521
+2018-01-19,183.080750
+2018-01-22,183.288849
+2018-01-23,187.365479
+2018-01-24,184.367111
+2018-01-25,182.144333
+2018-01-26,182.409195
+2018-01-29,182.115967
+2018-01-30,183.118591
+2018-01-31,185.161621
+2019-01-02,191.691254
+2019-01-03,195.366684
+2019-01-04,193.204666
+2019-01-07,192.664169
+2019-01-08,196.123383
+2019-01-09,194.757370
+2019-01-10,197.450058
+2019-01-11,197.233856
+2019-01-14,197.479538
+2019-01-15,200.486694
+2019-01-16,200.781509
+2019-01-17,201.400635
+2019-01-18,199.621887
+2019-01-22,198.029877
+2019-01-23,198.344345
+2019-01-24,199.130524
+2019-01-25,202.088531
+2019-01-28,204.604340
+2019-01-29,206.766342
+2019-01-30,206.618927
+2019-01-31,208.849731
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/README.md Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,6 @@
+# assignment2021scala - Main 1
+
+* deadline: 21 January, 5pm
+* [coursework description](https://nms.kcl.ac.uk/christian.urban/main_cw01.pdf)
+* reference jar:
+ [drumb.jar](https://nms.kcl.ac.uk/christian.urban/drumb.jar)
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main1/drumb.scala Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,85 @@
+// Main Part 1 about a really dumb investment strategy
+//===================================================
+
+object M1 {
+
+//two test portfolios
+
+val blchip_portfolio = List("GOOG", "AAPL", "MSFT", "IBM", "FB", "AMZN", "BIDU")
+val rstate_portfolio = List("PLD", "PSA", "AMT", "AIV", "AVB", "BXP", "CCI",
+ "DLR", "EQIX", "EQR", "ESS", "EXR", "FRT", "HCP")
+
+
+// (1) The function below takes a stock symbol and a year as arguments.
+// It should read the corresponding CSV-file and then extract the January
+// data from the given year. The data should be collected in a list of
+// strings (one entry for each line in the CSV-file).
+
+import io.Source
+import scala.util._
+
+def get_january_data(symbol: String, year: Int) : List[String] = ???
+
+
+// (2) From the output of the get_january_data function, the next function
+// should extract the first line (if it exists) and the corresponding
+// first trading price in that year with type Option[Double]. If no line
+// is generated by get_january_data then the result is None; and Some if
+// there is a price.
+
+
+def get_first_price(symbol: String, year: Int) : Option[Double] = ???
+
+
+// (3) Complete the function below that obtains all first prices
+// for the stock symbols from a portfolio (list of strings) and
+// for the given range of years. The inner lists are for the
+// stock symbols and the outer list for the years.
+
+
+def get_prices(portfolio: List[String], years: Range) : List[List[Option[Double]]] = ???
+
+
+
+// (4) The function below calculates the change factor (delta) between
+// a price in year n and a price in year n + 1.
+
+def get_delta(price_old: Option[Double], price_new: Option[Double]) : Option[Double] = ???
+
+
+
+// (5) The next function calculates all change factors for all prices (from a
+// portfolio). The input to this function are the nested lists created by
+// get_prices above.
+
+def get_deltas(data: List[List[Option[Double]]]) : List[List[Option[Double]]] = ???
+
+
+
+// (6) Write a function that given change factors, a starting balance and an index,
+// calculates the yearly yield, i.e. new balance, according to our dumb investment
+// strategy. Index points to a year in the data list.
+
+def yearly_yield(data: List[List[Option[Double]]], balance: Long, index: Int) : Long = ???
+
+
+// (7) Write a function compound_yield that calculates the overall balance for a
+// range of years where in each year the yearly profit is compounded to the new
+// balances and then re-invested into our portfolio. For this use the function and
+// results generated under (6). The function investment calls compound_yield
+// with the appropriate deltas and the first index.
+
+def compound_yield(data: List[List[Option[Double]]], balance: Long, index: Int) : Long = ???
+
+def investment(portfolio: List[String], years: Range, start_balance: Long) : Long = ???
+
+
+
+
+//Test cases for the two portfolios given above
+
+//println("Real data: " + investment(rstate_portfolio, 1978 to 2019, 100))
+//println("Blue data: " + investment(blchip_portfolio, 1978 to 2019, 100))
+
+
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main2/README.md Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,6 @@
+# assignment2021scala - Main 2
+
+* deadline: 21 January, 5pm
+* [coursework description](https://nms.kcl.ac.uk/christian.urban/main_cw02.pdf)
+* reference jar:
+ [danube.jar](https://nms.kcl.ac.uk/christian.urban/danube.jar)
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main2/danube.scala Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,161 @@
+// Main Part 2 about Movie Recommendations
+// at Danube.co.uk
+//===========================================
+
+object M2 {
+
+import io.Source
+import scala.util._
+
+// (1) Implement the function get_csv_url which takes an url-string
+// as argument and requests the corresponding file. The two urls
+// of interest are ratings_url and movies_url, which correspond
+// to CSV-files.
+//
+// The function should ReTurn the CSV-file appropriately broken
+// up into lines, and the first line should be dropped (that is without
+// the header of the CSV-file). The result is a list of strings (lines
+// in the file).
+
+def get_csv_url(url: String) : List[String] = ???
+
+
+val ratings_url = """https://nms.kcl.ac.uk/christian.urban/ratings.csv"""
+val movies_url = """https://nms.kcl.ac.uk/christian.urban/movies.csv"""
+
+// testcases
+//-----------
+//:
+//val movies = get_csv_url(movies_url)
+
+//ratings.length // 87313
+//movies.length // 9742
+
+
+
+// (2) Implement two functions that process the CSV-files from (1). The ratings
+// function filters out all ratings below 4 and ReTurns a list of
+// (userID, movieID) pairs. The movies function just ReTurns a list
+// of (movieID, title) pairs. Note the input to these functions, that is
+// the argument lines, will be the output of the function get_csv_url.
+
+
+def process_ratings(lines: List[String]) : List[(String, String)] = ???
+
+def process_movies(lines: List[String]) : List[(String, String)] = ???
+
+
+// testcases
+//-----------
+//val good_ratings = process_ratings(ratings)
+//val movie_names = process_movies(movies)
+
+//good_ratings.length //48580
+//movie_names.length // 9742
+
+
+
+
+// (3) Implement a grouping function that calculates a Map
+// containing the userIDs and all the corresponding recommendations
+// (list of movieIDs). This should be implemented in a tail
+// recursive fashion, using a Map m as accumulator. This Map m
+// is set to Map() at the beginning of the calculation.
+
+def groupById(ratings: List[(String, String)],
+ m: Map[String, List[String]]) : Map[String, List[String]] = ???
+
+
+// testcases
+//-----------
+//val ratings_map = groupById(good_ratings, Map())
+//val movies_map = movie_names.toMap
+
+//ratings_map.get("414").get.map(movies_map.get(_))
+// => most prolific recommender with 1227 positive ratings
+
+//ratings_map.get("474").get.map(movies_map.get(_))
+// => second-most prolific recommender with 787 positive ratings
+
+//ratings_map.get("214").get.map(movies_map.get(_))
+// => least prolific recommender with only 1 positive rating
+
+
+
+// (4) Implement a function that takes a ratings map and a movie_name as argument.
+// The function calculates all suggestions containing
+// the movie in its recommendations. It ReTurns a list of all these
+// recommendations (each of them is a list and needs to have the movie deleted,
+// otherwise it might happen we recommend the same movie).
+
+
+def favourites(m: Map[String, List[String]], mov: String) : List[List[String]] = ???
+
+
+// testcases
+//-----------
+// movie ID "912" -> Casablanca (1942)
+// "858" -> Godfather
+// "260" -> Star Wars: Episode IV - A New Hope (1977)
+
+//favourites(ratings_map, "912").length // => 80
+
+// That means there are 80 users that recommend the movie with ID 912.
+// Of these 80 users, 55 gave a good rating to movie 858 and
+// 52 a good rating to movies 260, 318, 593.
+
+
+
+// (5) Implement a suggestions function which takes a rating
+// map and a movie_name as arguments. It calculates all the recommended
+// movies sorted according to the most frequently suggested movie(s) first.
+
+def suggestions(recs: Map[String, List[String]],
+ mov_name: String) : List[String] = ???
+
+
+// testcases
+//-----------
+
+//suggestions(ratings_map, "912")
+//suggestions(ratings_map, "912").length
+// => 4110 suggestions with List(858, 260, 318, 593, ...)
+// being the most frequently suggested movies
+
+
+
+// (6) Implement a recommendations function which generates at most
+// *two* of the most frequently suggested movies. It ReTurns the
+// actual movie names, not the movieIDs.
+
+
+def recommendations(recs: Map[String, List[String]],
+ movs: Map[String, String],
+ mov_name: String) : List[String] = ???
+
+
+
+// testcases
+//-----------
+// recommendations(ratings_map, movies_map, "912")
+// => List(Godfather, Star Wars: Episode IV - A NewHope (1977))
+
+//recommendations(ratings_map, movies_map, "260")
+// => List(Star Wars: Episode V - The Empire Strikes Back (1980),
+// Star Wars: Episode VI - Return of the Jedi (1983))
+
+// recommendations(ratings_map, movies_map, "2")
+// => List(Lion King, Jurassic Park (1993))
+
+// recommendations(ratings_map, movies_map, "0")
+// => Nil
+
+// recommendations(ratings_map, movies_map, "1")
+// => List(Shawshank Redemption, Forrest Gump (1994))
+
+// recommendations(ratings_map, movies_map, "4")
+// => Nil (there are three ratings for this movie in ratings.csv but they are not positive)
+
+
+
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main3/README.md Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,6 @@
+# assignment2021scala - Main 3
+
+* deadline: 21 January, 5pm
+* [coursework description](https://nms.kcl.ac.uk/christian.urban/main_cw03.pdf)
+* reference jar:
+ [re.jar](https://nms.kcl.ac.uk/christian.urban/re.jar)
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main3/re.scala Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,151 @@
+// Main Part 3 about Regular Expression Matching
+//=============================================
+
+object M3 {
+
+// Regular Expressions
+abstract class Rexp
+case object ZERO extends Rexp
+case object ONE extends Rexp
+case class CHAR(c: Char) extends Rexp
+case class ALTs(rs: List[Rexp]) extends Rexp // alternatives
+case class SEQ(r1: Rexp, r2: Rexp) extends Rexp // sequence
+case class STAR(r: Rexp) extends Rexp // star
+
+
+// some convenience for typing regular expressions
+
+//the usual binary choice can be defined in terms of ALTs
+def ALT(r1: Rexp, r2: Rexp) = ALTs(List(r1, r2))
+
+
+import scala.language.implicitConversions
+import scala.language.reflectiveCalls
+
+def charlist2rexp(s: List[Char]): Rexp = s match {
+ case Nil => ONE
+ case c::Nil => CHAR(c)
+ case c::s => SEQ(CHAR(c), charlist2rexp(s))
+}
+implicit def string2rexp(s: String): Rexp = charlist2rexp(s.toList)
+
+implicit def RexpOps (r: Rexp) = new {
+ def | (s: Rexp) = ALT(r, s)
+ def % = STAR(r)
+ def ~ (s: Rexp) = SEQ(r, s)
+}
+
+implicit def stringOps (s: String) = new {
+ def | (r: Rexp) = ALT(s, r)
+ def | (r: String) = ALT(s, r)
+ def % = STAR(s)
+ def ~ (r: Rexp) = SEQ(s, r)
+ def ~ (r: String) = SEQ(s, r)
+}
+
+// (1) Complete the function nullable according to
+// the definition given in the coursework; this
+// function checks whether a regular expression
+// can match the empty string and Returns a boolean
+// accordingly.
+
+def nullable (r: Rexp) : Boolean = ???
+
+
+// (2) Complete the function der according to
+// the definition given in the coursework; this
+// function calculates the derivative of a
+// regular expression w.r.t. a character.
+
+def der (c: Char, r: Rexp) : Rexp = ???
+
+
+// (3) Implement the flatten function flts. It
+// deletes 0s from a list of regular expressions
+// and also 'spills out', or flattens, nested
+// ALTernativeS.
+
+def flts(rs: List[Rexp]) : List[Rexp] = ???
+
+
+
+// (4) Complete the simp function according to
+// the specification given in the coursework description;
+// this function simplifies a regular expression from
+// the inside out, like you would simplify arithmetic
+// expressions; however it does not simplify inside
+// STAR-regular expressions. Use the _.distinct and
+// flts functions.
+
+def simp(r: Rexp) : Rexp = ???
+
+
+// (5) Complete the two functions below; the first
+// calculates the derivative w.r.t. a string; the second
+// is the regular expression matcher taking a regular
+// expression and a string and checks whether the
+// string matches the regular expression
+
+def ders (s: List[Char], r: Rexp) : Rexp = ???
+
+def matcher(r: Rexp, s: String): Boolean = ???
+
+
+// (6) Complete the size function for regular
+// expressions according to the specification
+// given in the coursework.
+
+def size(r: Rexp): Int = ???
+
+
+// some testing data
+
+/*
+matcher(("a" ~ "b") ~ "c", "abc") // => true
+matcher(("a" ~ "b") ~ "c", "ab") // => false
+
+// the supposedly 'evil' regular expression (a*)* b
+val EVIL = SEQ(STAR(STAR(CHAR('a'))), CHAR('b'))
+
+matcher(EVIL, "a" * 1000 ++ "b") // => true
+matcher(EVIL, "a" * 1000) // => false
+
+// size without simplifications
+size(der('a', der('a', EVIL))) // => 28
+size(der('a', der('a', der('a', EVIL)))) // => 58
+
+// size with simplification
+size(simp(der('a', der('a', EVIL)))) // => 8
+size(simp(der('a', der('a', der('a', EVIL))))) // => 8
+
+// Python needs around 30 seconds for matching 28 a's with EVIL.
+// Java 9 and later increase this to an "astonishing" 40000 a's in
+// 30 seconds.
+//
+// Lets see how long it really takes to match strings with
+// 5 Million a's...it should be in the range of a couple
+// of seconds.
+
+def time_needed[T](i: Int, code: => T) = {
+ val start = System.nanoTime()
+ for (j <- 1 to i) code
+ val end = System.nanoTime()
+ "%.5f".format((end - start)/(i * 1.0e9))
+}
+
+for (i <- 0 to 5000000 by 500000) {
+ println(s"$i ${time_needed(2, matcher(EVIL, "a" * i))} secs.")
+}
+
+// another "power" test case
+simp(Iterator.iterate(ONE:Rexp)(r => SEQ(r, ONE | ONE)).drop(50).next()) == ONE
+
+// the Iterator produces the rexp
+//
+// SEQ(SEQ(SEQ(..., ONE | ONE) , ONE | ONE), ONE | ONE)
+//
+// where SEQ is nested 50 times.
+
+*/
+
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main4/README.md Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,8 @@
+# assignment2021scala - Main 4
+
+* deadline: 21 January, 5pm
+* [coursework description](https://nms.kcl.ac.uk/christian.urban/main_cw04.pdf)
+* reference jar:
+ [knight1.jar](https://nms.kcl.ac.uk/christian.urban/knight1.jar),
+ [knight2.jar](https://nms.kcl.ac.uk/christian.urban/knight2.jar),
+ [knight3.jar](https://nms.kcl.ac.uk/christian.urban/knight3.jar)
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main4/knight1.scala Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,109 @@
+// Main Part 4 about finding Knight's tours
+//==========================================
+
+
+object M4a {
+
+// If you need any auxiliary functions, feel free to
+// implement them, but do not make any changes to the
+// templates below. Also have a look whether the functions
+// at the end of the file are of any help.
+
+
+
+type Pos = (Int, Int) // a position on a chessboard
+type Path = List[Pos] // a path...a list of positions
+
+//(1) Complete the function that tests whether the position x
+// is inside the board and not yet element in the path.
+
+def is_legal(dim: Int, path: Path, x: Pos) : Boolean = ???
+
+
+
+//(2) Complete the function that calculates for a position x
+// all legal onward moves that are not already in the path.
+// The moves should be ordered in a "clockwise" manner.
+
+def legal_moves(dim: Int, path: Path, x: Pos) : List[Pos] = ???
+
+
+//some testcases
+//
+//assert(legal_moves(8, Nil, (2,2)) ==
+// List((3,4), (4,3), (4,1), (3,0), (1,0), (0,1), (0,3), (1,4)))
+//assert(legal_moves(8, Nil, (7,7)) == List((6,5), (5,6)))
+//assert(legal_moves(8, List((4,1), (1,0)), (2,2)) ==
+// List((3,4), (4,3), (3,0), (0,1), (0,3), (1,4)))
+//assert(legal_moves(8, List((6,6)), (7,7)) == List((6,5), (5,6)))
+
+
+//(3) Complete the two recursive functions below.
+// They exhaustively search for knight's tours starting from the
+// given path. The first function counts all possible tours,
+// and the second collects all tours in a list of paths.
+
+def count_tours(dim: Int, path: Path) : Int = ???
+
+def enum_tours(dim: Int, path: Path) : List[Path] = ???
+
+
+//(4) Implement a first-function that finds the first
+// element, say x, in the list xs where f is not None.
+// In that case Return f(x), otherwise None. If possible,
+// calculate f(x) only once.
+
+def first(xs: List[Pos], f: Pos => Option[Path]) : Option[Path] = ???
+
+
+// testcases
+//
+//def foo(x: (Int, Int)) = if (x._1 > 3) Some(List(x)) else None
+//
+//first(List((1, 0),(2, 0),(3, 0),(4, 0)), foo) // Some(List((4,0)))
+//first(List((1, 0),(2, 0),(3, 0)), foo) // None
+
+
+//(5) Implement a function that uses the first-function from (4) for
+// trying out onward moves, and searches recursively for a
+// knight tour on a dim * dim-board.
+
+def first_tour(dim: Int, path: Path) : Option[Path] = ???
+
+
+
+/* Helper functions
+
+
+// for measuring time
+def time_needed[T](code: => T) : T = {
+ val start = System.nanoTime()
+ val result = code
+ val end = System.nanoTime()
+ println(f"Time needed: ${(end - start) / 1.0e9}%3.3f secs.")
+ result
+}
+
+// can be called for example with
+//
+// time_needed(count_tours(dim, List((0, 0))))
+//
+// in order to print out the time that is needed for
+// running count_tours
+
+
+// for printing a board
+def print_board(dim: Int, path: Path): Unit = {
+ println()
+ for (i <- 0 until dim) {
+ for (j <- 0 until dim) {
+ print(f"${path.reverse.indexOf((j, dim - i - 1))}%3.0f ")
+ }
+ println()
+ }
+}
+
+
+*/
+
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main4/knight2.scala Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,43 @@
+// Core Part about finding a single tour for a board using the
+// Warnsdorf Rule
+//==============================================================
+
+object M4b {
+
+
+// !!! Copy any function you need from file knight1.scala !!!
+//
+// If you need any auxiliary functions, feel free to
+// implement them, but do not make any changes to the
+// templates below.
+
+type Pos = (Int, Int) // a position on a chessboard
+type Path = List[Pos] // a path...a list of positions
+
+
+//(6) Complete the function that calculates a list of onward
+// moves like in (2) but orders them according to Warnsdorf’s
+// rule. That means moves with the fewest legal onward moves
+// should come first.
+
+
+def ordered_moves(dim: Int, path: Path, x: Pos) : List[Pos] = ???
+
+
+//(7) Complete the function that searches for a single *closed*
+// tour using the ordered_moves function from (6). This
+// function will be tested on a 6 x 6 board.
+
+
+def first_closed_tour_heuristics(dim: Int, path: Path) : Option[Path] = ???
+
+
+//(8) Same as (7) but searches for *non-closed* tours. This
+// version of the function will be called with dimensions of
+// up to 30 * 30.
+
+def first_tour_heuristics(dim: Int, path: Path) : Option[Path] = ???
+
+
+
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/assignment2021scala/main4/knight3.scala Mon Nov 08 23:17:51 2021 +0000
@@ -0,0 +1,26 @@
+// Finding a single tour on a "mega" board
+//=========================================
+
+object M4c {
+
+// !!! Copy any function you need from file knight1.scala !!!
+// !!! or knight2.scala !!!
+//
+// If you need any auxiliary function, feel free to
+// implement it, but do not make any changes to the
+// templates below.
+
+
+type Pos = (Int, Int) // a position on a chessboard
+type Path = List[Pos] // a path...a list of positions
+
+//(9) Implement a function that searches for a
+// you have to be careful to write a tail-recursive version as this
+// function will be called with dimensions of up to 70 * 70
+// and starting field (0, 0). It has to produce a solution within
+// 30 seconds.
+
+
+def tour_on_mega_board(dim: Int, path: Path) : Option[Path] = ???
+
+}
Binary file cws/main_cw02.pdf has changed
--- a/cws/main_cw02.tex Mon Nov 08 20:59:32 2021 +0000
+++ b/cws/main_cw02.tex Mon Nov 08 23:17:51 2021 +0000
@@ -14,7 +14,7 @@
\noindent
You are asked to implement a Scala program for recommending movies
-according to a ratings list. This part is due on \cwSEVENa{} at 5pm.\bigskip
+according to a ratings list.\bigskip
\IMPORTANTNONE{}
Binary file cws/main_cw03.pdf has changed
--- a/cws/main_cw03.tex Mon Nov 08 20:59:32 2021 +0000
+++ b/cws/main_cw03.tex Mon Nov 08 23:17:51 2021 +0000
@@ -129,7 +129,7 @@
\noindent
This part is about a regular expression matcher described by
-Brzozowski in 1964. This part is due on \cwEIGHTa{} at 5pm. The
+Brzozowski in 1964. The
background is that ``out-of-the-box'' regular expression matching in
mainstream languages like Java, JavaScript and Python can sometimes be
excruciatingly slow. You are supposed to implement a regular