made main method point-free

Very simple change -- the main method was made point-free by removing the lambda function