Completed exercise1/Shapes.java unit tests with lambdas

Implemented lambdas to pass exercise1 unit tests