first attempt at creating a general current calculator