Filling method stubs to generate special list object and method to calculate the inverse of a matrix