diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
new file mode 100644
index 0000000..c805922
--- /dev/null
+++ b/.idea/compiler.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 0000000..aa00ffa
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
new file mode 100644
index 0000000..712ab9d
--- /dev/null
+++ b/.idea/jarRepositories.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..6a95d65
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/uiDesigner.xml b/.idea/uiDesigner.xml
new file mode 100644
index 0000000..2b63946
--- /dev/null
+++ b/.idea/uiDesigner.xml
@@ -0,0 +1,124 @@
+
+
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+ -
+
+
+
+
+ -
+
+
+ -
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/project-template/README.md b/README.md
similarity index 100%
rename from project-template/README.md
rename to README.md
diff --git a/project-template/checkstyle.xml b/checkstyle.xml
similarity index 100%
rename from project-template/checkstyle.xml
rename to checkstyle.xml
diff --git a/lections/01/Main.java b/lections/01/Main.java
deleted file mode 100644
index 196dc24..0000000
--- a/lections/01/Main.java
+++ /dev/null
@@ -1,8 +0,0 @@
-package tinkoff;
-
-public class Main {
-
- public static void main(String[] args) {
- System.out.println("Hello world");
- }
-}
diff --git a/lections/01/conditions/If.java b/lections/01/conditions/If.java
deleted file mode 100644
index 5ba766b..0000000
--- a/lections/01/conditions/If.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package tinkoff.conditions;
-
-public class If {
- public static void main(String[] args) {
-/*
- if (Любое условие) {
-
- } else if (Другое условие) {
-
- } else {
-
- }
-*/
-
- int a = 3;
- int b = 5;
- int c;
- if (a < b) {
- c = a;
- } else {
- c = b;
- }
-
- // Тернарный оператор - expression => можно присвоить результат
- c = (a < b) ? a : b;
- }
-}
diff --git a/lections/01/conditions/Switch.java b/lections/01/conditions/Switch.java
deleted file mode 100644
index 7167198..0000000
--- a/lections/01/conditions/Switch.java
+++ /dev/null
@@ -1,57 +0,0 @@
-package tinkoff.conditions;
-
-public class Switch {
- public static void main(String[] args) {
- String str = "a";
-
- int res;
-
- if (str.equals("a") || str.equals("b")) {
- res = 0;
- } else if (str.equals("ab") || str.equals("bc")) {
- res = 1;
- } else if (str.equals("abc")) {
- res = 2;
- } else {
- res = 100;
- };
-
- // Равносильно
-
- switch (str) {
- case "a", "b":
- res = 0;
- break;
- case "ab", "bc":
- res = 1;
- break;
- case "abc":
- res = 2;
- break;
- default:
- res = 100;
- };
-
- // Равносильно
-
- res = switch (str) {
- case "a", "b":
- yield 0;
- case "ab", "bc":
- yield 1;
- case "abc":
- yield 2;
- default:
- yield 100;
- };
-
- // Равносильно
-
- res = switch (str) {
- case "a", "b" -> 0;
- case "ab", "bc" -> 1;
- case "abc" -> 2;
- default -> 100;
- };
- }
-}
diff --git a/lections/01/cycles/For.java b/lections/01/cycles/For.java
deleted file mode 100644
index 2a0d772..0000000
--- a/lections/01/cycles/For.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package tinkoff.cycles;
-
-public class For {
- public static void main(String[] args) {
-
-/*
- for ( Перед циклом ; Условие итерации ; После итерации ) {
-
- }
-*/
-
- for (int i = 0; i < 10; i++) {
- System.out.println(i);
- }
-
- for (int i = 0; i < 10; i++) {
- if (i % 2 == 0) {
- continue;
- }
- System.out.println(i);
- }
-
- for (int i = 1; i < 10; i++) {
- if (i % 6 == 0) {
- break;
- }
- System.out.println(i);
- }
- }
-}
diff --git a/lections/01/cycles/Foreach.java b/lections/01/cycles/Foreach.java
deleted file mode 100644
index 7e5f651..0000000
--- a/lections/01/cycles/Foreach.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package tinkoff.cycles;
-
-public class Foreach {
- public static void main(String[] args) {
-/*
- for(тип имя : итерируемая сущность) {
-
- }
- */
- int[] v = new int[6];
- for(int el : v) {
- System.out.print(el + ", ");
- }
-
- System.out.println();
- System.out.println();
-
-
- int[][] m = new int[][] {
- {1, 2},
- {3, 4, 5, 6},
- {7, 8, 9}
- };
-
- for(int[] vTemp : m) {
- for(int el : vTemp) {
- System.out.print(el + ", ");
- }
- System.out.println();
- }
- }
-}
diff --git a/lections/01/cycles/While.java b/lections/01/cycles/While.java
deleted file mode 100644
index a0c9c32..0000000
--- a/lections/01/cycles/While.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package tinkoff.cycles;
-
-public class While {
- public static void main(String[] args) {
-/*
- while (Любое условие) {
-
- }
- */
-
- int a = 100;
- int n = 1;
- while (n < a) {
- n *= 2;
- }
-
- System.out.println(n);
-
- do {
- n *= 2;
- } while (n < a);
-
- System.out.println(n);
- }
-}
diff --git a/lections/01/finalvarstatic/Example.java b/lections/01/finalvarstatic/Example.java
deleted file mode 100644
index 12f369d..0000000
--- a/lections/01/finalvarstatic/Example.java
+++ /dev/null
@@ -1,18 +0,0 @@
-package tinkoff.finalvarstatic;
-
-import java.util.LinkedList;
-import java.util.List;
-
-public class Example {
- public static int common;
- public int x;
-
- public static void printCommon() {
- System.out.println(common);
- }
-/*
- public static void printX() {
- System.out.println(x);
- }
- */
-}
diff --git a/lections/01/finalvarstatic/Final.java b/lections/01/finalvarstatic/Final.java
deleted file mode 100644
index f3fe303..0000000
--- a/lections/01/finalvarstatic/Final.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package tinkoff.finalvarstatic;
-
-import java.util.LinkedList;
-import java.util.List;
-
-public class Final {
- public static void main(String[] args) {
- final int a = 1;
-/*
- a = 2; Для примитивов значение
- */
-
-
- final int[] ints = new int[3];
- ints[0] = 1;
- ints[1] = 2;
- ints[2] = 3;
-/*
- ints = new int[5]; Нельзя менять ссылку
- */
-
-
- final List ints2 = new LinkedList<>();
- ints2.add(1);
- ints2.add(2);
- ints2.add(3);
-/*
- ints = new LinkedList<>(); Нельзя менять ссылку
- */
- }
-}
diff --git a/lections/01/finalvarstatic/Static.java b/lections/01/finalvarstatic/Static.java
deleted file mode 100644
index 88c6f35..0000000
--- a/lections/01/finalvarstatic/Static.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package tinkoff.finalvarstatic;
-
-import java.util.LinkedList;
-import java.util.List;
-
-public class Static {
- public static void main(String[] args) {
- Example example1 = new Example();
- Example example2 = new Example();
- example1.x = 2;
- example2.x = 3;
-
- System.out.println(example1.x);
- System.out.println(example2.x);
-
- System.out.println();
-
- example1.common = 2;
- example2.common = 3;
-
- System.out.println(example1.common);
- }
-}
diff --git a/lections/01/finalvarstatic/Var.java b/lections/01/finalvarstatic/Var.java
deleted file mode 100644
index 62deb44..0000000
--- a/lections/01/finalvarstatic/Var.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package tinkoff.finalvarstatic;
-
-import java.util.LinkedList;
-import java.util.List;
-
-public class Var {
-
- //var a = "123";
-
- public static void main(String[] args) {
- var str = "123";
- var i = 1;
- var l = 1L;
- var d = 1D;
- var d2 = 1.0;
-
- var ints = new int[5];
- }
-}
diff --git a/lections/01/function/Exception.java b/lections/01/function/Exception.java
deleted file mode 100644
index 5a8072a..0000000
--- a/lections/01/function/Exception.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package tinkoff.function;
-
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.FileReader;
-import java.io.IOException;
-
-public class Exception {
-
- public static void main(String[] args) throws IOException {
- readFromFile("fileName.txt");
- }
-
-
- public static void createReader(String fileName) throws FileNotFoundException {
- FileReader fileReader = new FileReader(fileName);
- }
-
- public static void readFromFile(String fileName) throws IOException {
- FileReader fileReader = new FileReader(fileName);
- fileReader.read();
- }
-}
diff --git a/lections/01/function/Functions.java b/lections/01/function/Functions.java
deleted file mode 100644
index 3f3491d..0000000
--- a/lections/01/function/Functions.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package tinkoff.function;
-
-public class Functions {
-
- public static void main(String[] args) {
- printSum(1, 2);
- }
-
- public static void printSum(int a, int b) {
- System.out.println(a + b);
- }
-
- public static int binPow(int n, int pow) {
- if (pow == 0) {
- return 1;
- }
- if (pow % 2 == 0) {
- int res = binPow(n, pow / 2);
- return res * res;
- } else {
- return n * binPow(n, pow - 1);
- }
- }
-}
diff --git a/lections/01/function/SumFunctions.java b/lections/01/function/SumFunctions.java
deleted file mode 100644
index 6764cda..0000000
--- a/lections/01/function/SumFunctions.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package tinkoff.function;
-
-public class SumFunctions {
-
- public static void main(String[] args) {
- int res1 = sum(1);
- int res2 = sum(1, 2);
- int res3 = sum(1, 2, 3);
- int res4 = sum(1, 2, 3, 4);
- }
-
- public static int sum(int a, int b) {
- return a + b;
- }
-
- public static int sum(Integer a, int b) {
- return a + b;
- }
-
- public static int sum(int a, int... more) { // На самом деле создается массив
- int res = a;
- for (int b: more) {
- a += b;
- }
- return res;
- }
-}
diff --git a/lections/01/memory/HeapStack.java b/lections/01/memory/HeapStack.java
deleted file mode 100644
index 833f0a6..0000000
--- a/lections/01/memory/HeapStack.java
+++ /dev/null
@@ -1,15 +0,0 @@
-package tinkoff.memory;
-
-public class HeapStack {
-
- public static void main(String[] args) {
- int id = 23;
- String name = "John";
- Person person = null;
- person = buildPerson(id, name);
- }
-
- private static Person buildPerson(int id, String name) {
- return new Person(id, name);
- }
-}
diff --git a/lections/01/memory/HeapStackError.java b/lections/01/memory/HeapStackError.java
deleted file mode 100644
index 7f1b4d3..0000000
--- a/lections/01/memory/HeapStackError.java
+++ /dev/null
@@ -1,24 +0,0 @@
-package tinkoff.memory;
-
-import java.util.LinkedList;
-import java.util.List;
-
-public class HeapStackError {
- private static final List