Added a space method in Methods.java