Revert "Create Function.java"

This reverts commit f8311aa9a413f5ed20587bc5578332c8bc66c20c.