Implement insertion, getting and size checking