half assed top calculator thing in swift