diff --git a/.cargo/config b/.cargo/config
new file mode 100644
index 0000000000000000000000000000000000000000..9e75d6122bea663f0b76744688bb440073f24aba
--- /dev/null
+++ b/.cargo/config
@@ -0,0 +1,45 @@
+# An array of paths to local repositories which are to be used as overrides for
+# dependencies. For more information see the Cargo Guide.
+paths = []
+
+[cargo-new]
+# This is your name/email to place in the `authors` section of a new Cargo.toml
+# that is generated. If not present, then `git` will be probed, and if that is
+# not present then `$USER` and `$EMAIL` will be used.
+name = "Anders Nilsson"
+email = "anders.nilsson@control.lth.se"
+
+# By default `cargo new` will initialize a new git repository. This key can be
+# set to `none` to disable this behavior.
+vcs = "none"
+
+# For the following sections, $triple refers to any valid target triple, not the
+# literal string "$triple", and it will apply whenever that target triple is
+# being compiled to.
+[target]
+# For cargo builds which do not mention --target, these are the ar/linker tools
+# which are passed to rustc to use (via `-C ar=` and `-C linker=`). By default
+# these flags are not passed to the compiler.
+ar = ".."
+linker = ".."
+
+#[target.$triple]
+# Similar to the above ar/linker tool configuration, but this only applies to
+# when the `$triple` is being compiled for.
+#ar = ".."
+#linker = ".."
+
+# Configuration keys related to the registry
+#[registry]
+#index = "..."   # URL of the registry index (defaults to the central repository)
+#token = "..."   # Access token (found on the central repo's website)
+
+[http]
+#proxy = "..."     # HTTP proxy to use for HTTP requests (defaults to none)
+#timeout = 60000   # Timeout for each HTTP request, in milliseconds
+
+[build]
+jobs = 1               # number of jobs to run by default (default to # cpus)
+rustc = "rustc"        # the rust compiler tool
+rustdoc = "rustdoc"    # the doc generator tool
+target-dir = "target"  # path of where to place all generated artifacts
\ No newline at end of file
diff --git a/guessing_game/Cargo.lock b/guessing_game/Cargo.lock
index 2b300dace5a1a01de0b18df4885636a8534f34b7..f2d70215deea9cf74d76e2cc863feb8155dbf5ed 100644
--- a/guessing_game/Cargo.lock
+++ b/guessing_game/Cargo.lock
@@ -1,4 +1,41 @@
 [root]
 name = "guessing_game"
 version = "0.1.0"
+dependencies = [
+ "rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "advapi32-sys"
+version = "0.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "libc"
+version = "0.1.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "rand"
+version = "0.3.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "advapi32-sys 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "libc 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "winapi"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "winapi-build"
+version = "0.1.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
 
diff --git a/guessing_game/Cargo.toml b/guessing_game/Cargo.toml
index 7d668d86d972ce11f0dbf26d54671e553df76825..d35a5dac0c7b515b432c06a5c0e3792fbe844a1f 100644
--- a/guessing_game/Cargo.toml
+++ b/guessing_game/Cargo.toml
@@ -2,3 +2,6 @@
 name = "guessing_game"
 version = "0.1.0"
 authors = ["Anders Nilsson <anders.nilsson@control.lth.se>"]
+
+[dependencies]
+rand={version = "*"}
\ No newline at end of file