using the leap

implemented the following function:
get information from the leap and save it into the"data "folder