Mining bitcoins using SHA-256. Programming language used-Scala