added typings for BigInt by Leemon
return type fixes
added some tests
tests passed